diff options
Diffstat (limited to 'parameter/ParameterAccessContext.h')
-rw-r--r-- | parameter/ParameterAccessContext.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 |