summaryrefslogtreecommitdiffstats
path: root/parameter
diff options
context:
space:
mode:
authorJhinX Lee <jhinx.lee@intel.com>2012-07-12 17:50:07 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:11 +0100
commit4ebc0984c7afe9a6f0168169d5141421b4adcc67 (patch)
tree67036e21e0abed871359af88e08881ec3d25a548 /parameter
parent93250d172612c405135d56ffd306deae5ebc6df1 (diff)
downloadexternal_parameter-framework-4ebc0984c7afe9a6f0168169d5141421b4adcc67.zip
external_parameter-framework-4ebc0984c7afe9a6f0168169d5141421b4adcc67.tar.gz
external_parameter-framework-4ebc0984c7afe9a6f0168169d5141421b4adcc67.tar.bz2
PFW: KlocWork Severe issues fix on Parameter Framework
BZ: 46220 Added dummy copy constructors Change-Id: I2b79900a5d0d9173084aa89d77cc90fef1f94f14 Orig-Change-Id: I040e4d2fd8d77ac04bf2fb78a190a39aadd0b0f3 Signed-off-by: JhinX Lee <jhinx.lee@intel.com> Reviewed-on: http://android.intel.com:8080/60268 Reviewed-by: Mendi, EduardoX <eduardox.mendi@intel.com> Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter')
-rw-r--r--parameter/AutoLog.h2
-rw-r--r--parameter/BinaryStream.h2
-rw-r--r--parameter/ParameterBlackboard.h3
-rw-r--r--parameter/ParameterMgr.h3
-rw-r--r--parameter/ParameterMgrPlatformConnector.h2
-rw-r--r--parameter/RuleParser.h3
-rw-r--r--parameter/Subsystem.h3
-rw-r--r--parameter/SubsystemObject.h3
-rw-r--r--parameter/SystemClass.h2
-rw-r--r--parameter/TypeElement.h2
10 files changed, 25 insertions, 0 deletions
diff --git a/parameter/AutoLog.h b/parameter/AutoLog.h
index 1eb3b7d..c6a2a01 100644
--- a/parameter/AutoLog.h
+++ b/parameter/AutoLog.h
@@ -33,6 +33,8 @@ public:
~CAutoLog();
private:
+ CAutoLog(const CAutoLog&);
+ CAutoLog& operator=(const CAutoLog&);
// Logger element
const CElement* _pElement;
// Context
diff --git a/parameter/BinaryStream.h b/parameter/BinaryStream.h
index 1987467..60224b2 100644
--- a/parameter/BinaryStream.h
+++ b/parameter/BinaryStream.h
@@ -50,6 +50,8 @@ public:
// Direction
bool isOut() const;
private:
+ CBinaryStream(const CBinaryStream&);
+ CBinaryStream& operator=(const CBinaryStream&);
// Checksum
uint8_t computeChecksum() const;
diff --git a/parameter/ParameterBlackboard.h b/parameter/ParameterBlackboard.h
index eac032c..1d37921 100644
--- a/parameter/ParameterBlackboard.h
+++ b/parameter/ParameterBlackboard.h
@@ -55,6 +55,9 @@ public:
// Serialization
void serialize(CBinaryStream& binaryStream);
private:
+ CParameterBlackboard(const CParameterBlackboard&);
+ CParameterBlackboard& operator=(const CParameterBlackboard&);
+
uint8_t* _pucData;
uint32_t _uiSize;
};
diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h
index a2c22e7..59b4ab3 100644
--- a/parameter/ParameterMgr.h
+++ b/parameter/ParameterMgr.h
@@ -165,6 +165,9 @@ public:
// CElement
virtual string getKind() const;
private:
+ CParameterMgr(const CParameterMgr&);
+ CParameterMgr& operator=(const CParameterMgr&);
+
// Logging (done by root)
virtual void doLog(const string& strLog) const;
virtual void nestLog() const;
diff --git a/parameter/ParameterMgrPlatformConnector.h b/parameter/ParameterMgrPlatformConnector.h
index 7c271e1..01d8297 100644
--- a/parameter/ParameterMgrPlatformConnector.h
+++ b/parameter/ParameterMgrPlatformConnector.h
@@ -69,6 +69,8 @@ public:
CParameterHandle* createParameterHandle(const std::string& strPath, std::string& strError) const;
private:
+ CParameterMgrPlatformConnector(const CParameterMgrPlatformConnector&);
+ CParameterMgrPlatformConnector& operator=(const CParameterMgrPlatformConnector&);
// Private logging
void doLog(const std::string& strLog);
diff --git a/parameter/RuleParser.h b/parameter/RuleParser.h
index c37bd42..9b85df3 100644
--- a/parameter/RuleParser.h
+++ b/parameter/RuleParser.h
@@ -68,6 +68,9 @@ public:
CCompoundRule* grabRootRule();
private:
+ CRuleParser(const CRuleParser&);
+ CRuleParser& operator=(const CRuleParser&);
+
// Rule definition
string _strApplicationRule;
// Criteria defintion
diff --git a/parameter/Subsystem.h b/parameter/Subsystem.h
index ecb6d4d..359690c 100644
--- a/parameter/Subsystem.h
+++ b/parameter/Subsystem.h
@@ -67,6 +67,9 @@ protected:
// Subsystem object creator publication (strong reference)
void addSubsystemObjectFactory(CSubsystemObjectCreator* pSubsystemObjectCreator);
private:
+ CSubsystem(const CSubsystem&);
+ CSubsystem& operator=(const CSubsystem&);
+
// Belonging subsystem
virtual const CSubsystem* getBelongingSubsystem() const;
diff --git a/parameter/SubsystemObject.h b/parameter/SubsystemObject.h
index 43b628e..3b6f31a 100644
--- a/parameter/SubsystemObject.h
+++ b/parameter/SubsystemObject.h
@@ -64,6 +64,9 @@ protected:
const CInstanceConfigurableElement* getConfigurableElement() const;
private:
+ CSubsystemObject(const CSubsystemObject&);
+ CSubsystemObject& operator=(const CSubsystemObject&);
+
// Instance element to sync from/to
CInstanceConfigurableElement* _pInstanceConfigurableElement;
// Data size
diff --git a/parameter/SystemClass.h b/parameter/SystemClass.h
index ea47a52..9dbbf92 100644
--- a/parameter/SystemClass.h
+++ b/parameter/SystemClass.h
@@ -46,6 +46,8 @@ public:
virtual string getKind() const;
private:
+ CSystemClass(const CSystemClass&);
+ CSystemClass& operator=(const CSystemClass&);
// base
virtual bool childrenAreDynamic() const;
diff --git a/parameter/TypeElement.h b/parameter/TypeElement.h
index b3ab50c..e8855c6 100644
--- a/parameter/TypeElement.h
+++ b/parameter/TypeElement.h
@@ -58,6 +58,8 @@ protected:
// Object creation
virtual void populate(CElement* pElement) const;
private:
+ CTypeElement(const CTypeElement&);
+ CTypeElement& operator=(const CTypeElement&);
// Actual instance creation
virtual CInstanceConfigurableElement* doInstantiate() const = 0;