ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
testAdcLcsIf::TestAdcConfig Class Reference

The TestAdcConfig class. More...

Inheritance diagram for testAdcLcsIf::TestAdcConfig:
fcf::devmgr::adc::AdcConfig fcf::devmgr::common::DeviceConfig fcf::devmgr::common::IDeviceConfig

Public Member Functions

 TestAdcConfig (const std::string filename, const std::string name)
 
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 ReadConfig ()
 Read the configuration. More...
 
virtual void GetConfig (fcf::common::VectorVariant &params)
 Obtain the list of configuration parameters. More...
 
virtual void GetMotorConfig (fcf::common::VectorVariant &params)
 Obtain the list of ADC motor configuration parameters. More...
 
virtual void GetMotorConfig (const std::string motor, fcf::common::VectorVariant &params)
 
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
 

Additional Inherited Members

- Protected Attributes inherited from fcf::devmgr::adc::AdcConfig
devmgr::common::MapCfgBool m_map_cfg_bool
 
devmgr::common::MapCfgInt m_map_cfg_int
 
devmgr::common::MapCfgUInt m_map_cfg_uint
 
devmgr::common::MapCfgDouble m_map_cfg_double
 
int m_num_axis
 
std::map< std::string,
std::unique_ptr
< devmgr::motor::MotorConfig > > 
m_motor_config_map
 Maps of ADC axes configuration. More...
 
std::map< std::string,
std::string > 
m_motor_prefix_map
 
- Protected Attributes inherited from fcf::devmgr::common::DeviceConfig
MapCfgBool m_map_cfg_bool
 
MapCfgShort m_map_cfg_short
 
MapCfgInt m_map_cfg_int
 
MapCfgUInt m_map_cfg_uint
 
MapCfgDouble m_map_cfg_double
 
std::string m_filename
 filename of device configuration file More...
 
std::string m_name
 device identifier More...
 
YAML::Node m_config_node
 YAML node object for configuration file. More...
 
std::string m_identifier
 Address space identifier. More...
 
std::string m_type
 Device type. More...
 
std::string m_fits_prefix
 
bool m_simulated
 
bool m_ignored
 
std::string m_lcs_prefix
 
std::string m_address
 
std::string m_sim_address
 
std::string m_map_file
 
std::string m_alias
 
int m_lcs_namespace
 

Detailed Description

The TestAdcConfig class.

This class is used to overwrite the mapping file inside the motor configuration.

Constructor & Destructor Documentation

testAdcLcsIf::TestAdcConfig::TestAdcConfig ( const std::string  filename,
const std::string  name 
)
inline

Member Function Documentation

virtual std::string testAdcLcsIf::TestAdcConfig::GetMapFile ( )
inlinevirtual

Get name of the device mapping file.

Returns

Reimplemented from fcf::devmgr::common::DeviceConfig.

void testAdcLcsIf::TestAdcConfig::SetMapFile ( const std::string &  filename)
inline

Member Data Documentation

std::string testAdcLcsIf::TestAdcConfig::m_map_file

The documentation for this class was generated from the following file: