ifw-fcf  5.0.0
mockIDeviceConfig.hpp
Go to the documentation of this file.
1 
2 #include "gmock/gmock.h"
3 
4 //
5 // // Local headers
7 
8 
10  public:
11  MOCK_METHOD0(Init, bool());
12  MOCK_METHOD0(ReadConfig, void());
13  MOCK_METHOD1(GetConfig, void(protocol::base::VectorVariant& params));
14  MOCK_METHOD0(GetIdentifier, std::string());
15  MOCK_METHOD0(GetPrefix, std::string());
16  MOCK_METHOD0(GetAddress, std::string());
17  MOCK_METHOD0(GetType, std::string());
19  MOCK_METHOD0(GetMapFile,std::string());
20  MOCK_METHOD0(GetName, std::string());
21  MOCK_METHOD1(GetNodeId, std::string(const std::string& attrib));
22  MOCK_METHOD1(GetProcId, std::string(const std::string& attrib));
23  MOCK_METHOD0(GetObjId, std::string());
26 };
27 
28 
29 
Definition: mockIDeviceConfig.hpp:9
MOCK_METHOD0(GetName, std::string())
MOCK_METHOD0(GetAddress, std::string())
MOCK_METHOD1(GetProcId, std::string(const std::string &attrib))
MOCK_METHOD0(GetType, std::string())
MOCK_METHOD1(GetConfig, void(protocol::base::VectorVariant &params))
MOCK_METHOD0(GetMapFile, std::string())
MOCK_METHOD0(ReadConfig, void())
MOCK_METHOD0(GetIdentifier, std::string())
MOCK_METHOD1(GetNodeId, std::string(const std::string &attrib))
MOCK_METHOD0(GetPrefix, std::string())
MOCK_METHOD0(GetIgnored, bool())
MOCK_METHOD0(GetNamespace, int())
MOCK_METHOD0(Init, bool())
MOCK_METHOD0(GetSimulated, bool())
MOCK_METHOD0(GetObjId, std::string())
Device Configuration class.
Definition: iDeviceConfig.hpp:31
virtual bool GetSimulated() const =0
GetSimulated.
virtual std::string GetObjId() const =0
Get object id.
virtual int GetNamespace() const =0
virtual std::string GetIdentifier() const =0
virtual std::string GetAddress() const =0
virtual std::string GetProcId(const std::string &attrib) const =0
Get procedure id.
virtual std::string GetNodeId(const std::string &attrib) const =0
Get node id.
virtual std::string GetMapFile() const =0
virtual bool GetIgnored() const =0
Get ignored flag.
virtual std::string GetPrefix() const =0
virtual std::string GetName() const =0
virtual void GetConfig(protocol::base::VectorVariant &params) const =0
Obtain the list of configuration parameters.
virtual std::string GetType() const =0
IDeviceConfig class header file.