ifw-fcf
2.0.0
|
drot Configuration class More...
#include <drotConfig.hpp>
Public Member Functions | |
DrotConfig (const std::string filename, const std::string name) | |
DeviceConfig constructor. More... | |
virtual | ~DrotConfig () |
DeviceConfig destructor. More... | |
Public Member Functions inherited from fcf::devmgr::motor::MotorConfig | |
MotorConfig (const std::string filename, const std::string name) | |
MotorConfig constructor. More... | |
virtual | ~MotorConfig () |
MotorConfig destructor. More... | |
virtual void | ReadConfig () |
Read the configuration. More... | |
virtual void | GetConfig (fcf::common::VectorVariant ¶ms) |
Obtain the list of configuration parameters. More... | |
virtual void | GetConfigList (std::vector< std::string > &cfg_list, std::string prefix) |
Get configuration list. More... | |
int | GetNumberOfNamedPositions () |
double | GetVelocity () |
void | SetScaleFactor (double scale) |
Set Scale Factor. More... | |
double | GetScaleFactor () const |
const std::string | GetNamedPosition (const int index) |
GetNamedPosition. More... | |
const double | GetNamedPositionValue (const std::string named_pos) |
GetNamedPositionValue. More... | |
bool | FindNamedPositionValue (const std::string named_pos, double &position) |
Find value associated to a named position. More... | |
bool | FindNamedPositionValue (const double position, std::string &name) |
Find value associated to a named position in UU. More... | |
double | GetNpTolerance () const |
Get named position tolerance. More... | |
Public Member Functions inherited from fcf::devmgr::common::DeviceConfig | |
DeviceConfig (const std::string &filename, const std::string &name) | |
DeviceConfig constructor. More... | |
virtual | ~DeviceConfig () |
DeviceConfig destructor. More... | |
bool | Init () |
Initialises a device. More... | |
std::string | GetIdentifier () |
std::string | GetPrefix () |
std::string | GetAddress () |
std::string | GetSimAddress () |
std::string | GetFitsPrefix () |
Get Fits Prefix. More... | |
std::string | GetType () |
int | GetNamespace () |
std::string | GetAlias () |
std::string | GetName () |
std::string | GetNodeId (const std::string &attrib) |
Get node id. More... | |
std::string | GetProcId (const std::string &attrib) |
Get procedure id. More... | |
std::string | GetObjId () |
Get object id. More... | |
std::string | GetCfgFile () |
GetCfgFile. More... | |
virtual void | SetSimulateFlag (bool flag) |
Set simulation flag. More... | |
virtual void | SetIgnoreFlag (bool flag) |
Set ignore flag. More... | |
virtual bool | GetIgnored () |
Get ignored flag. More... | |
virtual bool | GetSimulated () |
Get simulated flag. More... | |
virtual std::string | GetMapFile () |
Get name of the device mapping file. More... | |
drot Configuration class
This class manages the configuration of a drot. It reads the configuration file and provides the methods to obtain the parameters used by the auxiliary classes.
fcf::devmgr::drot::DrotConfig::DrotConfig | ( | const std::string | filename, |
const std::string | name | ||
) |
DeviceConfig constructor.
[in] | filename | filename of the device configuration file. |
[in] | name | Device identifier. |
|
virtual |
DeviceConfig destructor.