ifw  0.0.1-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
testShutterConfig::MyDeviceConfig Class Reference

Test ShutterConfig class used for testing purposes. More...

Inheritance diagram for testShutterConfig::MyDeviceConfig:
devmgr::shutter::ShutterConfig devmgr::common::DeviceConfig devmgr::common::DeviceConfig devmgr::common::DeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig devmgr::common::IDeviceConfig

Public Member Functions

 MyDeviceConfig (const std::string &filename, const std::string &name)
 
void ReadConfig ()
 Read the configuration. More...
 
void GetConfig (fcf::common::VectorVariant &params)
 Obtain the list of configuration parameters. More...
 
void SetMapFile (const std::string &filename)
 
virtual std::string GetMapFile ()
 
- Public Member Functions inherited from devmgr::shutter::ShutterConfig
 ShutterConfig (const std::string filename, const std::string name)
 MotorConfig constructor. More...
 
virtual ~ShutterConfig ()
 ShutterConfig destructor. More...
 
virtual void GetConfigList (std::vector< std::string > &cfg_list, std::string prefix)
 Get configuration list. More...
 
 ShutterConfig (const std::string filename, const std::string name)
 MotorConfig constructor. More...
 
virtual ~ShutterConfig ()
 ShutterConfig destructor. More...
 
virtual void GetConfigList (std::vector< std::string > &cfg_list, std::string prefix)
 Get configuration list. More...
 
 ShutterConfig (const std::string filename, const std::string name)
 MotorConfig constructor. More...
 
virtual ~ShutterConfig ()
 ShutterConfig destructor. More...
 
virtual void GetConfigList (std::vector< std::string > &cfg_list, std::string prefix)
 Get configuration list. More...
 
- Public Member Functions inherited from devmgr::common::DeviceConfig
 DeviceConfig (const std::string &filename, const std::string &name)
 DeviceConfig constructor. More...
 
virtual ~DeviceConfig ()
 DeviceConfig destructor. More...
 
virtual 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...
 
 DeviceConfig (const std::string &filename, const std::string &name)
 DeviceConfig constructor. More...
 
virtual ~DeviceConfig ()
 DeviceConfig destructor. More...
 
virtual 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...
 
 DeviceConfig (const std::string &filename, const std::string &name)
 DeviceConfig constructor. More...
 
virtual ~DeviceConfig ()
 DeviceConfig destructor. More...
 
virtual 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 devmgr::common::DeviceConfig
std::string m_filename
 filename of device configuration file More...
 
std::string m_name
 device identifier More...
 
YAML::Node m_configNode
 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

Test ShutterConfig class used for testing purposes.

Constructor & Destructor Documentation

testShutterConfig::MyDeviceConfig::MyDeviceConfig ( const std::string &  filename,
const std::string &  name 
)
inline

Member Function Documentation

void testShutterConfig::MyDeviceConfig::GetConfig ( fcf::common::VectorVariant &  params)
inlinevirtual

Obtain the list of configuration parameters.

Parameters
[in,out]paramsoutput vector with the list of config parameters

This methods prepare a vector with all the configuration parameters of a shutter with the purpose to write it into the controller.

Reimplemented from devmgr::shutter::ShutterConfig.

virtual std::string testShutterConfig::MyDeviceConfig::GetMapFile ( )
inlinevirtual
Returns
mapping file

Reimplemented from devmgr::shutter::ShutterConfig.

void testShutterConfig::MyDeviceConfig::ReadConfig ( )
inlinevirtual

Read the configuration.

This reads the shutter configuration attributes in memory and check the presence of all attributes that are mandatory.

Exceptions
std::runtime_errorin case of an error

Reimplemented from devmgr::shutter::ShutterConfig.

void testShutterConfig::MyDeviceConfig::SetMapFile ( const std::string &  filename)
inline

Member Data Documentation

std::string testShutterConfig::MyDeviceConfig::m_map_file

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