diff options
author | Frédéric Boisnard <fredericx.boisnard@intel.com> | 2013-02-25 15:56:56 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:48 +0100 |
commit | e42dacdeaf82d63000be61c6f1583a2ab08e0a98 (patch) | |
tree | ffbdab1836280ba3e9a979802949edb046f21c04 /parameter/DomainConfiguration.h | |
parent | 6bc17c03f4b006a411b768fca33269843144542d (diff) | |
download | external_parameter-framework-e42dacdeaf82d63000be61c6f1583a2ab08e0a98.zip external_parameter-framework-e42dacdeaf82d63000be61c6f1583a2ab08e0a98.tar.gz external_parameter-framework-e42dacdeaf82d63000be61c6f1583a2ab08e0a98.tar.bz2 |
[PFW] Access Configurations directly
BZ: 88357
This patch aims to enable direct access to Configurations
without using the main blackboard. 2 additional commands are
available:
- getConfigurationParameter <domain> <configuration> <param path>:
Get value for parameter at given path from configuration.
- setConfigurationParameter <domain> <configuration> <param path> <value>
Set value for parameter at given path to configuration.
Change-Id: I9357ba5141feee558fa3f7c10f62db14406433b6
Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com>
Reviewed-on: http://android.intel.com:8080/92325
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Gonzalve, Sebastien <sebastien.gonzalve@intel.com>
Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/DomainConfiguration.h')
-rw-r--r-- | parameter/DomainConfiguration.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/parameter/DomainConfiguration.h b/parameter/DomainConfiguration.h index a4e2aad..a87c75c 100644 --- a/parameter/DomainConfiguration.h +++ b/parameter/DomainConfiguration.h @@ -58,6 +58,9 @@ public: void clearApplicationRule(); void getApplicationRule(string& strResult) const; + // Get Blackboard for an element of the domain + CParameterBlackboard* getBlackboard(const CConfigurableElement* pConfigurableElement) const; + // Save data from current void save(const CParameterBlackboard* pMainBlackboard); // Apply data to current @@ -91,6 +94,7 @@ public: // Class kind virtual string getKind() const; + private: // Returns true if children dynamic creation is to be dealt with (here, will allow child deletion upon clean) virtual bool childrenAreDynamic() const; |