|
ifw-fcf 7.1.4
|
The TestMotorConfig class. More...
Public Member Functions | |
| TestMotorConfig (const std::string filename, const std::string name) | |
| void | SetMapFile (const std::string &filename) |
| virtual std::string | GetMapFile () const |
| Get name of the device mapping file. | |
Public Member Functions inherited from ifw::fcf::devmgr::motor::MotorConfig | |
| MotorConfig (const std::string filename, const std::string name) | |
| MotorConfig constructor. | |
| MotorConfig (const std::string name) | |
| MotorConfig constructor. | |
| virtual | ~MotorConfig ()=default |
| MotorConfig destructor. | |
| void | Init () |
| Read the configuration. | |
| virtual void | GetConfig (ifw::core::protocol::base::VectorVariant ¶ms) const override |
| Obtain the list of configuration parameters. | |
| virtual void | GetConfigList (ifw::core::utils::bat::DbVector &cfg_list, std::string prefix) const override |
| Get configuration list. | |
| int | GetNumberOfInitSteps () const noexcept |
| Get number of initialisations steps. | |
| double | GetScaleFactor () const override |
| void | SetScaleFactor (double scale) |
| Set Scale Factor. | |
Public Member Functions inherited from ifw::fcf::devmgr::motor::MotorBaseConfig | |
| MotorBaseConfig (const std::string filename, const std::string name) | |
| MotorConfig constructor. | |
| MotorBaseConfig (const std::string name) | |
| MotorConfig constructor. | |
| virtual | ~MotorBaseConfig ()=default |
| MotorConfig destructor. | |
| void | Init () |
| Read the configuration. | |
| int | GetNumberOfNamedPositions () const noexcept |
| double | GetVelocity () const |
| std::string | GetNamedPosition (const int index) const |
| GetNamedPosition. | |
| double | GetNamedPositionValue (const int index) const |
| GetNamedPositionValue. | |
| NamedPosConfig | GetNamedPositionConfig (const std::string &named_pos) const |
| GetNamedPositionType. | |
| bool | FindNamedPositionValue (const std::string named_pos, double &position) const |
| Find value associated to a named position. | |
| bool | FindNamedPositionValue (const double position, std::string &name) const |
| Find value associated to a named position in UU. | |
| double | GetNpTolerance () const |
| Get named position tolerance. | |
Public Member Functions inherited from ifw::fcf::devmgr::common::DeviceConfig | |
| DeviceConfig (const std::string &filename, const std::string &name) | |
| DeviceConfig constructor. | |
| DeviceConfig (const std::string &name) | |
| DeviceConfig constructor. | |
| virtual | ~DeviceConfig () |
| DeviceConfig destructor. | |
| bool | Init () |
| Initialises a device. | |
| void | InitFromString (std::string config) |
| Init the internal configuration from a string. | |
| void | InitFromFile (const std::string &filename) |
| Init the internal configuration from a given file. | |
| std::string | GetIdentifier () const override |
| std::string | GetPrefix () const override |
| std::string | GetAddress () const override |
| std::string | GetSimAddress () const override |
| std::string | GetFitsPrefix () const |
| Get Fits Prefix. | |
| std::string | GetType () const override |
| int | GetNamespace () const override |
| std::string | GetAlias () const override |
| std::string | GetId () const |
| std::string | GetOverview () const |
| std::string | GetDescription () const |
| std::string | GetName () const noexcept override |
| std::string | GetLogName () const noexcept |
| std::string | GetNodeIdByType (const std::string &attrib, const NodeIdType type=ATTRIB_NODE_ID) const |
| Get node id. | |
| std::string | GetNodeId (const std::string &attrib) const override |
| Get node id. | |
| std::string | GetProcId (const std::string &attrib) const override |
| Get procedure id. | |
| std::string | GetObjId () const override |
| Get object id. | |
| std::string | GetCfgFile () const |
| GetCfgFile. | |
| std::string | GetCfgAsString () const override |
| GetCfgAsString. | |
| virtual void | SetSimulateFlag (const bool flag) override |
| Set simulation flag. | |
| virtual void | SetIgnoreFlag (const bool flag) override |
| Set ignore flag. | |
| virtual bool | GetIgnored () const override |
| Get ignored flag. | |
| virtual bool | GetSimulated () const override |
| Get simulated flag. | |
| void | CheckConfig () const |
| Validates the document configuration. | |
Additional Inherited Members | |
Public Types inherited from ifw::fcf::devmgr::common::DeviceConfig | |
| enum | NodeIdType { ATTRIB_NODE_ID , RPC_NODE_ID , OBJ_NODE_ID } |
Protected Member Functions inherited from ifw::fcf::devmgr::common::DeviceConfig | |
| void | MergeConfig (const elt::configng::CiiConfigDocument &doc, bool check=true) |
| Merges a configuration file. | |
| bool | GetVariantValue (const elt::configng::CiiConfigInstanceNode node, ifw::core::protocol::base::Variant &value) const |
| Obtain the variant value with the correct type. | |
| bool | IsValidNodeIDFormat (const std::string &node_id_string) const |
| IsValidNodeIDFormat. | |
Protected Attributes inherited from ifw::fcf::devmgr::common::DeviceConfig | |
| std::string | m_filename |
| filename of device configuration file | |
| std::string | m_name |
| device identifier | |
| std::string | m_type |
| std::unique_ptr< elt::configng::CiiConfigDocument > | m_config_doc |
| Internal configuration document object. | |
The TestMotorConfig class.
This class is used to overwrite the mapping file inside the motor configuration.
|
inline |
|
inlinevirtual |
Get name of the device mapping file.
Reimplemented from ifw::fcf::devmgr::common::DeviceConfig.
|
inline |