ifw-fcf
5.0.0-pre2
|
Device Configuration class. More...
#include <iDeviceConfig.hpp>
Public Member Functions | |
virtual void | GetConfig (protocol::base::VectorVariant ¶ms) const =0 |
Obtain the list of configuration parameters. More... | |
virtual std::string | GetIdentifier () const =0 |
virtual std::string | GetPrefix () const =0 |
virtual std::string | GetAddress () const =0 |
virtual std::string | GetSimAddress () const =0 |
virtual std::string | GetType () const =0 |
virtual int | GetNamespace () const =0 |
virtual std::string | GetMapFile () const =0 |
virtual std::string | GetCfgAsString () const =0 |
virtual std::string | GetAlias () const =0 |
virtual std::string | GetName () const =0 |
virtual std::string | GetNodeId (const std::string &attrib) const =0 |
Get node id. More... | |
virtual std::string | GetProcId (const std::string &attrib) const =0 |
Get procedure id. More... | |
virtual std::string | GetObjId () const =0 |
Get object id. More... | |
virtual void | SetSimulateFlag (const bool flag)=0 |
Set simulation flag. More... | |
virtual void | SetIgnoreFlag (const bool flag)=0 |
Set ignore flag. More... | |
virtual bool | GetIgnored () const =0 |
Get ignored flag. More... | |
virtual bool | GetSimulated () const =0 |
GetSimulated. More... | |
Device Configuration class.
This class manages the configuration of a device. It reads the configuration file and provides the methods to obtain the parameters used by the various classes.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Obtain the list of configuration parameters.
[in,out] | params | output vector with the list of config parameters |
This methods prepare a vector with all the configuration parameters of a device with the purpose to write it into the controller.
Implemented in fcf::devmgr::motor::MotorConfig, fcf::devmgr::iodev::IODevConfig, fcf::devmgr::adc::AdcConfig, and fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Get ignored flag.
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Get node id.
[in] | attrib | attribute to build the node id |
The NodeId is composed by the following: <namespace>,<prefix>.<attribute>
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Get object id.
This method returns the address space prefix for executing RPC calls.
<namespace>,<prefix>
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Get procedure id.
[in] | attrib | attribute to build the node id |
The procedure id is the NodeId for RPC calls and it is composed by the following:
<namespace>,<prefix>#<attribute>
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
GetSimulated.
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Set ignore flag.
Implemented in fcf::devmgr::common::DeviceConfig.
|
pure virtual |
Set simulation flag.
Implemented in fcf::devmgr::common::DeviceConfig.