summaryrefslogtreecommitdiffstats
path: root/parameter/BaseParameter.h
diff options
context:
space:
mode:
authorFrancois Gaffie <francois.gaffie@intel.com>2014-04-07 13:47:48 +0200
committerMattijs Korpershoek <mattijsx.korpershoek@intel.com>2014-06-24 11:51:36 +0200
commita1258f4f8121fbda5223e3875ac7ef6d53195e4c (patch)
treeeb94f0cb98256c1a5b0d17726798f1ad5daf52e1 /parameter/BaseParameter.h
parent8ab7293fc32d078f558985b938fa5c71c2b0404b (diff)
downloadexternal_parameter-framework-a1258f4f8121fbda5223e3875ac7ef6d53195e4c.zip
external_parameter-framework-a1258f4f8121fbda5223e3875ac7ef6d53195e4c.tar.gz
external_parameter-framework-a1258f4f8121fbda5223e3875ac7ef6d53195e4c.tar.bz2
Add explicit API to append parameter path to error log
BZ: 183857 Explicit API names makes the code easier to read, allowing even to remove some comments. This patch adds an API to append the parameter path to the error log. Change-Id: Id136497072e53c8dd0ea3d95354e1dfe6193f771 Signed-off-by: Francois Gaffie <francois.gaffie@intel.com> Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
Diffstat (limited to 'parameter/BaseParameter.h')
-rw-r--r--parameter/BaseParameter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/parameter/BaseParameter.h b/parameter/BaseParameter.h
index 7221fbc..3b1296e 100644
--- a/parameter/BaseParameter.h
+++ b/parameter/BaseParameter.h
@@ -80,4 +80,11 @@ protected:
// Actual value access (to be implemented by derived)
virtual bool doSetValue(const string& strValue, uint32_t uiOffset, CParameterAccessContext& parameterAccessContext) const = 0;
virtual void doGetValue(string& strValue, uint32_t uiOffset, CParameterAccessContext& parameterAccessContext) const = 0;
+
+ /**
+ * Append the parameter path to the error.
+ *
+ * @param[in:out] parameterAccessContext Parameter Access Context object.
+ */
+ void appendParameterPathToError(CParameterAccessContext& parameterAccessContext) const;
};