|
pds 2.1.0-alpha
|
#include <mts.hpp>
Public Member Functions | |
| virtual | ~Mts ()=default |
| DeviceConfig destructor. | |
| void | CreateObjects (std::shared_ptr< ifw::fcf::devmgr::common::IDeviceConfig > config=nullptr) override |
| Create object instances. | |
| virtual void | Setup (const std::any &payload) override |
| Executes a setup of the PSU8600 device. | |
The Mts class.
This class handles the behaviour of a generic Mts device.
The Mts class have two auxiliary objects. One for managing the device configuration and the other one for managing the connection to the device controller running in the Local Control System (LCS). These two objects are created by a dedicated method. These objects inherits basic behaviours from their parent classes.
|
virtualdefault |
DeviceConfig destructor.
|
override |
Create object instances.
| config | Shared pointer to a device config object |
This method creates the instances of the device configuration and LCS interface objects that are needed by the device. It can override the type of the configuration by passing a parameter otherwise it will use the default Config class.
|
overridevirtual |
Executes a setup of the PSU8600 device.
| [in] | payload | contains the payload of the setup message. |
| an | exception if an error ocurrs. |