summaryrefslogtreecommitdiffstats
path: root/parameter/ConfigurableElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/ConfigurableElement.h')
-rw-r--r--parameter/ConfigurableElement.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/parameter/ConfigurableElement.h b/parameter/ConfigurableElement.h
index 57eb3a5..41e33bf 100644
--- a/parameter/ConfigurableElement.h
+++ b/parameter/ConfigurableElement.h
@@ -85,9 +85,14 @@ public:
// Footprint as string
string getFootprintAsString() const;
+ // Belonging subsystem
+ virtual const CSubsystem* getBelongingSubsystem() const;
+
+ // Check element is a parameter
+ virtual bool isParameter() const;
+
// Parameter access
- virtual bool setValue(CPathNavigator& pathNavigator, const string& strValue, CParameterAccessContext& parameterContext) const;
- virtual bool getValue(CPathNavigator& pathNavigator, string& strValue, CParameterAccessContext& parameterContext) const;
+ virtual bool accessValue(CPathNavigator& pathNavigator, string& strValue, bool bSet, CParameterAccessContext& parameterAccessContext) const;
// Used for simulation and virtual subsystems
virtual void setDefaultValues(CParameterAccessContext& parameterAccessContext) const;
@@ -115,9 +120,6 @@ private:
void getBelongingDomains(list<const CConfigurableDomain*>& configurableDomainList) const;
void listDomains(const list<const CConfigurableDomain*>& configurableDomainList, string& strResult, bool bVertical) const;
- // Belonging subsystem
- virtual const CSubsystem* getBelongingSubsystem() const;
-
// Check parent is still of current type (by structure knowledge)
bool isOfConfigurableElementType(const CElement* pParent) const;