diff options
author | Patrick Benavoli <patrickx.benavoli@intel.com> | 2011-08-31 11:23:24 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-10 17:14:53 +0100 |
commit | 2ecf900ad8c30ce9f8e81f57977a1a80a6f6d8af (patch) | |
tree | 30a4b54da922580eefa34963585116657c2816fc /parameter/Parameter.h | |
parent | 6ba361d96bc2581667b3400f87ff89fae6449e1f (diff) | |
download | external_parameter-framework-2ecf900ad8c30ce9f8e81f57977a1a80a6f6d8af.zip external_parameter-framework-2ecf900ad8c30ce9f8e81f57977a1a80a6f6d8af.tar.gz external_parameter-framework-2ecf900ad8c30ce9f8e81f57977a1a80a6f6d8af.tar.bz2 |
Parameter Framework: Parameter property display
BZ: 7137
Added showProperties remote command
Changed EQU to MONO_EQ for CAPTURE paths in LPE Subsystem structure definition
Had to create a generic class for Parameter and BitParameter classes
Change-Id: If6ab97ff002d8ba81df5a4a60bc3eb07dbe14e5e
Orig-Change-Id: I425f81cd414b1c721f5c11169e9a489f5c638ab9
Signed-off-by: Patrick Benavoli <patrickx.benavoli@intel.com>
Reviewed-on: http://android.intel.com:8080/16879
Reviewed-by: Mahe, Erwan <erwan.mahe@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/Parameter.h')
-rw-r--r-- | parameter/Parameter.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/parameter/Parameter.h b/parameter/Parameter.h index c62f151..50a8999 100644 --- a/parameter/Parameter.h +++ b/parameter/Parameter.h @@ -32,16 +32,12 @@ #include <stdint.h> -#include "InstanceConfigurableElement.h" +#include "BaseParameter.h" -class CParameterAccessContext; -class CConfigurationAccessContext; - -class CParameter : public CInstanceConfigurableElement +class CParameter : public CBaseParameter { public: CParameter(const string& strName, const CTypeElement* pTypeElement); - virtual ~CParameter(); // Instantiation, allocation virtual uint32_t getFootPrint() const; @@ -52,23 +48,16 @@ public: // XML configuration settings parsing/composing virtual bool serializeXmlSettings(CXmlElement& xmlConfigurationSettingsElementContent, CConfigurationAccessContext& configurationAccessContext) const; protected: - // Parameter Access - virtual bool setValue(CPathNavigator& pathNavigator, const string& strValue, CErrorContext& errorContext) const; - virtual bool getValue(CPathNavigator& pathNavigator, string& strValue, CErrorContext& errorContext) const; - virtual void logValue(string& strValue, CErrorContext& errorContext) const; // Used for simulation only virtual void setDefaultValues(CParameterAccessContext& parameterAccessContext) const; // Actual value access - bool doSetValue(const string& strValue, uint32_t uiOffset, CParameterAccessContext& parameterAccessContext) const; - void doGetValue(string& strValue, uint32_t uiOffset, CParameterAccessContext& parameterAccessContext) const; + virtual bool doSetValue(const string& strValue, uint32_t uiOffset, CParameterAccessContext& parameterAccessContext) const; + virtual void doGetValue(string& strValue, uint32_t uiOffset, CParameterAccessContext& parameterAccessContext) const; // Value space handling for configuration import void handleValueSpaceAttribute(CXmlElement& xmlConfigurableElementSettingsElement, CConfigurationAccessContext& configurationAccessContext) const; // Size uint32_t getSize() const; - - // Unit - void prependUnit(string& strValue) const; }; |