summaryrefslogtreecommitdiffstats
path: root/parameter/InstanceConfigurableElement.h
diff options
context:
space:
mode:
authorFrancois Gaffie <francois.gaffie@intel.com>2014-04-07 13:46:05 +0200
committerMattijs Korpershoek <mattijsx.korpershoek@intel.com>2014-06-24 11:51:35 +0200
commit8ab7293fc32d078f558985b938fa5c71c2b0404b (patch)
tree4123046de6b599d346e339d5c6126744d63a499e /parameter/InstanceConfigurableElement.h
parent01c7495e66caea59165316bc025a69cce1383311 (diff)
downloadexternal_parameter-framework-8ab7293fc32d078f558985b938fa5c71c2b0404b.zip
external_parameter-framework-8ab7293fc32d078f558985b938fa5c71c2b0404b.tar.gz
external_parameter-framework-8ab7293fc32d078f558985b938fa5c71c2b0404b.tar.bz2
Restore autosync of string parameter
BZ: 183857 Sync for String parameter accessed from parameter handle API does not work. This patch allows synchronisation for string parameter accessed from parameter handle APIs. Change-Id: If738402f4c0fcb0bb51bd2515e46f3ac36a361dd Signed-off-by: Francois Gaffie <francois.gaffie@intel.com> Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
Diffstat (limited to 'parameter/InstanceConfigurableElement.h')
-rw-r--r--parameter/InstanceConfigurableElement.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/parameter/InstanceConfigurableElement.h b/parameter/InstanceConfigurableElement.h
index 78b348c..39a0d94 100644
--- a/parameter/InstanceConfigurableElement.h
+++ b/parameter/InstanceConfigurableElement.h
@@ -104,8 +104,18 @@ protected:
virtual ISyncer* getSyncer() const;
// Syncer set (descendant)
virtual void fillSyncerSetFromDescendant(CSyncerSet& syncerSet) const;
- // Sync
+
+ /**
+ * Performs the sync if the AutoSync is enabled.
+ * If AutoSync is disabled, any call to sync will returns true, even if synchronization has not
+ * been done. It will happen when the AutoSync will be switched back on.
+ *
+ * @param[in:out] parameterAccessContext Parameter access context object
+ *
+ * @return true if the synchronization succeded or if the AutoSync is off, false otherwise.
+ */
bool sync(CParameterAccessContext& parameterAccessContext) const;
+
// Check parameter access path well formed for leaf elements
static bool checkPathExhausted(CPathNavigator& pathNavigator, CErrorContext& errorContext);
private: