diff options
Diffstat (limited to 'parameter/SystemClass.cpp')
-rw-r--r-- | parameter/SystemClass.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/parameter/SystemClass.cpp b/parameter/SystemClass.cpp index bf98cb1..ae0c25f 100644 --- a/parameter/SystemClass.cpp +++ b/parameter/SystemClass.cpp @@ -232,7 +232,6 @@ const CSubsystemLibrary* CSystemClass::getSubsystemLibrary() const return _pSubsystemLibrary; } -// Fill syncer-set with syncers from subsytems that need resync void CSystemClass::checkForSubsystemsToResync(CSyncerSet& syncerSet) { uint32_t uiNbChildren = getNbChildren(); @@ -252,6 +251,20 @@ void CSystemClass::checkForSubsystemsToResync(CSyncerSet& syncerSet) } } +void CSystemClass::cleanSubsystemsNeedToResync() +{ + uint32_t uiNbChildren = getNbChildren(); + uint32_t uiChild; + + for (uiChild = 0; uiChild < uiNbChildren; uiChild++) { + + CSubsystem* pSubsystem = static_cast<CSubsystem*>(getChild(uiChild)); + + // Consume the need for a resync + pSubsystem->needResync(true); + } +} + bool CSystemClass::init(string& strError) { return base::init(strError); |