|
ifw-fcf
2.0.0
|
Test ShutterConfig 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::shutter::ShutterConfig | |
| ShutterConfig (const std::string filename, const std::string name) | |
| MotorConfig constructor. More... | |
| virtual | ~ShutterConfig () |
| ShutterConfig destructor. 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... | |
| virtual void | GetConfigList (std::vector< std::string > &cfg_list, std::string prefix) |
| Get configuration list. 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 Types inherited from fcf::devmgr::shutter::ShutterConfig | |
| enum | { CFG_IGCLOSED = 0, CFG_IGFAULT = 1, CFG_IGOPEN = 2, CFG_LOWCLOSED = 3, CFG_LOWFAULT = 4, CFG_LOWOPEN = 5, CFG_LOWSWITCH = 6, CFG_INITSTATE = 7, CFG_TIMEOUT = 8, END_ENUM_SHUTTER } |
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 |
Test ShutterConfig 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 device with the purpose to write it into the controller.
Reimplemented from fcf::devmgr::common::DeviceConfig.
|
inlinevirtual |
|
inlinevirtual |
Read the configuration.
This reads the device 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::common::DeviceConfig.
|
inline |
| std::string testShutterConfig::MyDeviceConfig::m_map_file |
1.8.5