summaryrefslogtreecommitdiffstats
path: root/parameter/BackSynchronizer.h
diff options
context:
space:
mode:
authorFrançois Gaffie <francois.gaffie@intel.com>2016-02-17 10:58:44 +0100
committerEric Laurent <elaurent@google.com>2016-03-04 17:42:09 -0800
commit9368eea42a1afb01dd44110582f997115b50e742 (patch)
tree5efc2015ec5d52fc32453ad5a1a82a3f4a6b4919 /parameter/BackSynchronizer.h
parent0efdadfc1eacc7271c8f854a8a610fdc2cc66102 (diff)
downloadplatform_external_parameter-framework-9368eea42a1afb01dd44110582f997115b50e742.tar.gz
platform_external_parameter-framework-9368eea42a1afb01dd44110582f997115b50e742.tar.bz2
platform_external_parameter-framework-9368eea42a1afb01dd44110582f997115b50e742.zip
parameter-framework: Drop of github upstream version v3.2.4
Main features are: -Networking code may now be opted-out (for android build: no socket opened for user build) -Get rid of python prebuild for XML generation Bug: 22887211 Change-Id: Ieee49b439f694f14ce48c23127d34622691397ef Signed-off-by: François Gaffie <francois.gaffie@intel.com> Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'parameter/BackSynchronizer.h')
-rw-r--r--parameter/BackSynchronizer.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/parameter/BackSynchronizer.h b/parameter/BackSynchronizer.h
index 0d6fcb5..ff6c4f6 100644
--- a/parameter/BackSynchronizer.h
+++ b/parameter/BackSynchronizer.h
@@ -31,15 +31,18 @@
#include "ConfigurableElementAggregator.h"
#include "ConfigurableElement.h"
+#include <NonCopyable.hpp>
+
#include <list>
class CParameterBlackboard;
-class CBackSynchronizer
+class CBackSynchronizer : private utility::NonCopyable
{
public:
- CBackSynchronizer(const CConfigurableElement* pConfigurableElement)
- : _configurableElementAggregator(_needingBackSyncList, &CConfigurableElement::hasNoValidDomainAssociated)
+ CBackSynchronizer(const CConfigurableElement *pConfigurableElement)
+ : _configurableElementAggregator(_needingBackSyncList,
+ &CConfigurableElement::hasNoValidDomainAssociated)
{
// Aggegate elements
_configurableElementAggregator.aggegate(pConfigurableElement);
@@ -47,14 +50,13 @@ public:
// Back synchronization
virtual void sync() = 0;
- virtual ~CBackSynchronizer() {}
+ virtual ~CBackSynchronizer() = default;
protected:
// Aggregate list
- std::list<const CConfigurableElement*> _needingBackSyncList;
+ std::list<const CConfigurableElement *> _needingBackSyncList;
private:
// Aggegator
CConfigurableElementAggregator _configurableElementAggregator;
};
-