|
| | MyDeviceConfig (const std::string &filename, const std::string &name) |
| |
| void | Init () |
| | Read the configuration.
|
| |
| void | GetConfig (protocol::base::VectorVariant ¶ms) |
| |
| void | SetMapFile (const std::string &filename) |
| |
| virtual std::string | GetMapFile () const |
| | Get name of the device mapping file.
|
| |
| | MotorConfig (const std::string filename, const std::string name) |
| | MotorConfig constructor.
|
| |
| | MotorConfig (const std::string name) |
| | MotorConfig constructor.
|
| |
| virtual | ~MotorConfig ()=default |
| | MotorConfig destructor.
|
| |
| virtual void | Init () |
| | Read the configuration.
|
| |
| virtual void | GetConfig (protocol::base::VectorVariant ¶ms) const override |
| | Obtain the list of configuration parameters.
|
| |
| virtual void | GetConfigList (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.
|
| |
| | MotorBaseConfig (const std::string filename, const std::string name) |
| | MotorConfig constructor.
|
| |
| | MotorBaseConfig (const std::string name) |
| | MotorConfig constructor.
|
| |
| virtual | ~MotorBaseConfig ()=default |
| | MotorConfig destructor.
|
| |
| virtual void | Init () |
| | Read the configuration.
|
| |
| virtual void | GetConfigList (utils::bat::DbVector &cfg_list, std::string prefix) const override |
| | Get configuration list.
|
| |
| int | GetNumberOfNamedPositions () const noexcept |
| |
| double | GetVelocity () const |
| |
| virtual double | GetScaleFactor () const |
| |
| std::string | GetNamedPosition (const int index) const |
| | GetNamedPosition.
|
| |
| double | GetNamedPositionValue (const int index) const |
| | GetNamedPositionValue.
|
| |
| 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.
|
| |
| | 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.
|
| |
| virtual void | GetConfig (protocol::base::VectorVariant ¶ms) const |
| | Obtain the list of configuration parameters.
|
| |
| std::string | GetIdentifier () const |
| |
| std::string | GetPrefix () const |
| |
| std::string | GetAddress () const |
| |
| std::string | GetSimAddress () const |
| |
| std::string | GetFitsPrefix () const |
| | Get Fits Prefix.
|
| |
| std::string | GetType () const |
| |
| int | GetNamespace () const |
| |
| std::string | GetAlias () const |
| |
| std::string | GetId () const |
| |
| std::string | GetOverview () const |
| |
| std::string | GetDescription () const |
| |
| std::string | GetName () const noexcept |
| |
| 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 |
| | Get node id.
|
| |
| std::string | GetProcId (const std::string &attrib) const |
| | Get procedure id.
|
| |
| std::string | GetObjId () const |
| | Get object id.
|
| |
| virtual void | GetConfigList (utils::bat::DbVector &cfg_list, std::string prefix) const |
| | Get configuration list.
|
| |
| std::string | GetCfgFile () const |
| | GetCfgFile.
|
| |
| std::string | GetCfgAsString () const |
| | GetCfgAsString.
|
| |
| virtual void | SetSimulateFlag (const bool flag) |
| | Set simulation flag.
|
| |
| virtual void | SetIgnoreFlag (const bool flag) |
| | Set ignore flag.
|
| |
| virtual bool | GetIgnored () const |
| | Get ignored flag.
|
| |
| virtual bool | GetSimulated () const |
| | Get simulated flag.
|
| |
| virtual std::string | GetMapFile () const |
| | Get name of the device mapping file.
|
| |
| void | CheckConfig () const |
| | Validates the document configuration.
|
| |
| virtual void | GetConfig (protocol::base::VectorVariant ¶ms) const =0 |
| | Obtain the list of configuration parameters.
|
| |
| virtual std::string | GetIdentifier () const =0 |
| |
| virtual std::string | GetPrefix () const =0 |
| |
| virtual std::string | GetAddress () const =0 |
| |
| virtual std::string | GetSimAddress () const =0 |
| |
| virtual std::string | GetType () const =0 |
| |
| virtual int | GetNamespace () const =0 |
| |
| virtual std::string | GetMapFile () const =0 |
| |
| virtual std::string | GetCfgAsString () const =0 |
| |
| virtual std::string | GetAlias () const =0 |
| |
| virtual std::string | GetName () const =0 |
| |
| virtual std::string | GetNodeId (const std::string &attrib) const =0 |
| | Get node id.
|
| |
| virtual std::string | GetProcId (const std::string &attrib) const =0 |
| | Get procedure id.
|
| |
| virtual std::string | GetObjId () const =0 |
| | Get object id.
|
| |
| virtual void | SetSimulateFlag (const bool flag)=0 |
| | Set simulation flag.
|
| |
| virtual void | SetIgnoreFlag (const bool flag)=0 |
| | Set ignore flag.
|
| |
| virtual bool | GetIgnored () const =0 |
| | Get ignored flag.
|
| |
| virtual bool | GetSimulated () const =0 |
| | GetSimulated.
|
| |
Test MotorConfig class used for testing purposes.