From 822d0a70b3a2a4f862d01fa6c0194a406708bf63 Mon Sep 17 00:00:00 2001
From: Patrick Benavoli <patrick.benavoli@intel.com>
Date: Thu, 3 Jul 2014 22:03:23 +0200
Subject: Coding style correction

BZ: 208504

Concerns the handle to remote processor library.
In PFW coding style, the variables are named like in english language:
The actual nature of the object needs to lie at the end of the name.

Change-Id: If41218c3456d07c81a953182488c6ae71e31b6d8
Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com>
---
 parameter/ParameterMgr.cpp | 13 +++++++------
 parameter/ParameterMgr.h   |  6 ++++--
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/parameter/ParameterMgr.cpp b/parameter/ParameterMgr.cpp
index d112461..47abd0d 100644
--- a/parameter/ParameterMgr.cpp
+++ b/parameter/ParameterMgr.cpp
@@ -300,7 +300,7 @@ CParameterMgr::CParameterMgr(const string& strConfigurationFilePath) :
     _pElementLibrarySet(new CElementLibrarySet),
     _strXmlConfigurationFilePath(strConfigurationFilePath),
     _pSubsystemPlugins(NULL),
-    _handleLibRemoteProcessor(NULL),
+    _pvLibRemoteProcessorHandle(NULL),
     _uiStructureChecksum(0),
     _pRemoteProcessorServer(NULL),
     _uiMaxCommandUsageLength(0),
@@ -358,8 +358,9 @@ CParameterMgr::~CParameterMgr()
     delete _pElementLibrarySet;
 
     // Close remote processor library
-    if (_handleLibRemoteProcessor != NULL) {
-        dlclose(_handleLibRemoteProcessor);
+    if (_pvLibRemoteProcessorHandle) {
+
+        dlclose(_pvLibRemoteProcessorHandle);
     }
 
     // Tuning Mode Mutex
@@ -2459,9 +2460,9 @@ bool CParameterMgr::handleRemoteProcessingInterface(string& strError)
         log_info("Loading remote processor library");
 
         // Load library
-        _handleLibRemoteProcessor = dlopen("libremote-processor.so", RTLD_NOW);
+        _pvLibRemoteProcessorHandle = dlopen("libremote-processor.so", RTLD_NOW);
 
-        if (!_handleLibRemoteProcessor) {
+        if (!_pvLibRemoteProcessorHandle) {
 
             // Return error
             const char* pcError = dlerror();
@@ -2477,7 +2478,7 @@ bool CParameterMgr::handleRemoteProcessingInterface(string& strError)
             return false;
         }
 
-        CreateRemoteProcessorServer pfnCreateRemoteProcessorServer = (CreateRemoteProcessorServer)dlsym(_handleLibRemoteProcessor, "createRemoteProcessorServer");
+        CreateRemoteProcessorServer pfnCreateRemoteProcessorServer = (CreateRemoteProcessorServer)dlsym(_pvLibRemoteProcessorHandle, "createRemoteProcessorServer");
 
         if (!pfnCreateRemoteProcessorServer) {
 
diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h
index c6a2fd5..7edace1 100644
--- a/parameter/ParameterMgr.h
+++ b/parameter/ParameterMgr.h
@@ -597,8 +597,10 @@ private:
     // Subsystem plugin location
     const CSubsystemPlugins* _pSubsystemPlugins;
 
-    // Remote processor library handle
-    void *_handleLibRemoteProcessor;
+    /**
+     * Remote processor library handle
+     */
+    void* _pvLibRemoteProcessorHandle;
 
     // Whole system structure checksum
     uint8_t _uiStructureChecksum;
-- 
cgit v1.1