aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/SubsystemObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/SubsystemObject.h')
-rwxr-xr-x[-rw-r--r--]parameter/SubsystemObject.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/parameter/SubsystemObject.h b/parameter/SubsystemObject.h
index ca52df8..1c6690d 100644..100755
--- a/parameter/SubsystemObject.h
+++ b/parameter/SubsystemObject.h
@@ -56,6 +56,17 @@ protected:
static uint32_t asInteger(const string& strValue);
static string asString(uint32_t uiValue);
+ /**
+ * Conversion of int8, int16, int32 to int (taking care of sign extension)
+ *
+ * @param[in] instanceConfigurableElement pointer to configurable element instance
+ * @param[in] sizeOptimizedData data to convert
+ *
+ * @return the data converted to int
+ */
+ int toPlainInteger(const CInstanceConfigurableElement *instanceConfigurableElement,
+ int sizeOptimizedData);
+
// Sync to/from HW
virtual bool sendToHW(string& strError);
virtual bool receiveFromHW(string& strError);