aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/BackSynchronizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/BackSynchronizer.h')
-rw-r--r--parameter/BackSynchronizer.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/parameter/BackSynchronizer.h b/parameter/BackSynchronizer.h
index a2cabea..0d6fcb5 100644
--- a/parameter/BackSynchronizer.h
+++ b/parameter/BackSynchronizer.h
@@ -30,24 +30,28 @@
#pragma once
#include "ConfigurableElementAggregator.h"
-#include <string>
-
-using namespace std;
+#include "ConfigurableElement.h"
+#include <list>
class CParameterBlackboard;
class CBackSynchronizer
{
public:
- CBackSynchronizer(const CConfigurableElement* pConfigurableElement);
+ CBackSynchronizer(const CConfigurableElement* pConfigurableElement)
+ : _configurableElementAggregator(_needingBackSyncList, &CConfigurableElement::hasNoValidDomainAssociated)
+ {
+ // Aggegate elements
+ _configurableElementAggregator.aggegate(pConfigurableElement);
+ }
// Back synchronization
virtual void sync() = 0;
virtual ~CBackSynchronizer() {}
protected:
- // Aggegate list
- list<const CConfigurableElement*> _needingBackSyncList;
+ // Aggregate list
+ std::list<const CConfigurableElement*> _needingBackSyncList;
private:
// Aggegator