diff options
author | Guillaume Denneulin <guillaume.denneulin@intel.com> | 2013-01-22 15:16:08 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:33 +0100 |
commit | 935f2afb8db14178f07660d12d982b5a734adfde (patch) | |
tree | d5363c8c8ebeba6e4c6bd32ba739e98146fad0f7 /parameter/SubsystemObject.cpp | |
parent | 85d6dd65ad91d04eb847dfbc50b914f3739511e7 (diff) | |
download | external_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.cpp')
-rw-r--r-- | parameter/SubsystemObject.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/parameter/SubsystemObject.cpp b/parameter/SubsystemObject.cpp index 15bba6c..d79789b 100644 --- a/parameter/SubsystemObject.cpp +++ b/parameter/SubsystemObject.cpp @@ -253,3 +253,9 @@ const CInstanceConfigurableElement* CSubsystemObject::getConfigurableElement() c { return _pInstanceConfigurableElement; } + +// Belonging Subsystem retrieval +const CSubsystem* CSubsystemObject::getSubsystem() const +{ + return _pInstanceConfigurableElement->getBelongingSubsystem(); +} |