From 6ba361d96bc2581667b3400f87ff89fae6449e1f Mon Sep 17 00:00:00 2001 From: Patrick Benavoli Date: Wed, 31 Aug 2011 11:23:24 +0200 Subject: parameter-framework: improvements and corrections BZ: 6721 - Bug correction concerning selection criteria display (inclusive type) - Adapted XML format to allow for only on parameter to be associated to a domain - Removed unused files in parameter project Change-Id: I9f42d08ff8cb60354714fe3d6b0f0b321ad0a7bf Orig-Change-Id: I837e553070f5acf2d275082c986ba29433493e31 Signed-off-by: Patrick Benavoli Reviewed-on: http://android.intel.com:8080/16878 Reviewed-by: Mahe, Erwan Tested-by: Barthes, FabienX Reviewed-by: buildbot Tested-by: buildbot --- parameter/ParameterAccessContext.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'parameter/ParameterAccessContext.h') diff --git a/parameter/ParameterAccessContext.h b/parameter/ParameterAccessContext.h index dbeb730..cfdca7f 100644 --- a/parameter/ParameterAccessContext.h +++ b/parameter/ParameterAccessContext.h @@ -37,17 +37,21 @@ class CParameterBlackboard; class CParameterAccessContext : public CErrorContext { public: - CParameterAccessContext(string& strError, CParameterBlackboard* pParameterBlackboard, bool bValueSpaceIsRaw); + CParameterAccessContext(string& strError, CParameterBlackboard* pParameterBlackboard, bool bValueSpaceIsRaw, bool bOutputRawFormatIsHex); CParameterAccessContext(string& strError); // ParameterBlackboard CParameterBlackboard* getParameterBlackboard(); void setParameterBlackboard(CParameterBlackboard* pBlackboard); - // Value interpretation as Real or Raw (usefull for Fixed point parameters) + // Value interpretation as Real or Raw void setValueSpaceRaw(bool bIsRaw); bool valueSpaceIsRaw() const; + // Output Raw Format for user get value interpretation + void setOutputRawFormat(bool bIsHex); + bool outputRawFormatIsHex(); + // Endianness void setBigEndianSubsystem(bool bBigEndian); bool isBigEndianSubsystem() const; @@ -61,6 +65,8 @@ private: CParameterBlackboard* _pParameterBlackboard; // Value space bool _bValueSpaceIsRaw; + // Output Raw Format + bool _bOutputRawFormatIsHex; // Subsystem Endianness bool _bBigEndianSubsystem; // Automatic synchronization to HW -- cgit v1.1