ifw-fcf
2.0.0
|
Test AdcConfig class used for testing purposes. More...
Public Member Functions | |
MyDeviceConfig (const std::string &filename, const std::string &name) | |
void | ReadConfig () |
Read the configuration. More... | |
void | GetConfig (fcf::common::VectorVariant ¶ms) |
Obtain the list of configuration parameters. More... | |
void | SetMapFile (const std::string &filename) |
virtual std::string | GetMapFile () |
Get name of the device mapping file. More... | |
Public Member Functions inherited from fcf::devmgr::adc::AdcConfig | |
AdcConfig (const std::string filename, const std::string name) | |
DeviceConfig constructor. More... | |
virtual | ~AdcConfig () |
DeviceConfig destructor. More... | |
virtual void | GetMotorConfig (fcf::common::VectorVariant ¶ms) |
Obtain the list of ADC motor configuration parameters. More... | |
virtual void | GetMotorConfig (const std::string motor, fcf::common::VectorVariant ¶ms) |
virtual void | SetScaleFactor (const std::string motor, double scale_factor) |
virtual void | GetConfigList (std::vector< std::string > &cfg_list, std::string prefix) |
Get configuration list. More... | |
virtual std::string | GetMotorMapFile () |
virtual std::string | GetMotorType () |
virtual std::string | GetMotorPrefix (const std::string motor) |
void | GetMotorNames (std::vector< std::string > &motor_names) |
void | GetMotorPrefixes (std::vector< std::string > &motor_prefixes) |
double | GetMotorVelocity (const int axis_num) |
double | GetMotorScaleFactor (const int axis_num) |
double | GetMotorScaleFactor (const std::string motor_name) |
std::string | GetMotorName (const std::string nodeid) |
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... | |
Public Attributes | |
std::string | m_map_file |
Test AdcConfig class used for testing purposes.
|
inline |
|
inlinevirtual |
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 adc with the purpose to write it into the controller.
Reimplemented from fcf::devmgr::adc::AdcConfig.
|
inlinevirtual |
|
inlinevirtual |
Read the configuration.
This reads the adc configuration attributes in memory and check the presence of all attributes that are mandatory.
std::runtime_error | in case of an error |
Reimplemented from fcf::devmgr::adc::AdcConfig.
|
inline |
std::string testAdc::MyDeviceConfig::m_map_file |