summaryrefslogtreecommitdiffstats
path: root/parameter/SubsystemObject.h
diff options
context:
space:
mode:
authorGuillaume Denneulin <guillaume.denneulin@intel.com>2013-01-22 15:16:08 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:33 +0100
commit935f2afb8db14178f07660d12d982b5a734adfde (patch)
treed5363c8c8ebeba6e4c6bd32ba739e98146fad0f7 /parameter/SubsystemObject.h
parent85d6dd65ad91d04eb847dfbc50b914f3739511e7 (diff)
downloadexternal_parameter-framework-935f2afb8db14178f07660d12d982b5a734adfde.zip
external_parameter-framework-935f2afb8db14178f07660d12d982b5a734adfde.tar.gz
external_parameter-framework-935f2afb8db14178f07660d12d982b5a734adfde.tar.bz2
Add a getter for belonging subsystem in subsystem objects
BZ: 66692 Sometimes, subsystem object need to know their belonging subsystem. Change-Id: Ia1b8c8c3756179a87b542fc0fe52f6f0097299b6 Signed-off-by: Guillaume Denneulin <guillaume.denneulin@intel.com> Reviewed-on: http://android.intel.com:8080/87951 Reviewed-by: Soulard, Mathieu <mathieu.soulard@intel.com> Reviewed-by: Centelles, Sylvain <sylvain.centelles@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/SubsystemObject.h')
-rw-r--r--parameter/SubsystemObject.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/parameter/SubsystemObject.h b/parameter/SubsystemObject.h
index 9ba7546..8fab017 100644
--- a/parameter/SubsystemObject.h
+++ b/parameter/SubsystemObject.h
@@ -29,6 +29,7 @@
class CInstanceConfigurableElement;
class CMappingContext;
+class CSubsystem;
class CSubsystemObject : private ISyncer
{
@@ -60,6 +61,8 @@ protected:
static string formatMappingValue(const string& strMappingValue, uint32_t uiFirstAmendKey, uint32_t uiNbAmendKeys, const CMappingContext& context);
// Configurable element retrieval
const CInstanceConfigurableElement* getConfigurableElement() const;
+ // Belonging Subsystem retrieval
+ const CSubsystem* getSubsystem() const;
private:
// from ISyncer