ifw
0.0.1-dev
|
#include <iDevice.hpp>
Public Member Functions | |
virtual void | CreateObjects (std::shared_ptr< devmgr::common::IDeviceConfig > config=nullptr)=0 |
Create basic objects needed by the device class. More... | |
virtual void | RegisterComm (std::shared_ptr< fcf::common::IComm > comm_if, fcf::common::Dispatcher<> &failure, fcf::common::Dispatcher<> &normal)=0 |
Register a communication interface object. More... | |
virtual bool | IsNotReady () const =0 |
Check if device is Standby/NotReady. More... | |
virtual bool | IsReady () const =0 |
Check if device is Standby/Ready. More... | |
virtual bool | IsOperational () const =0 |
Check if device is Operational. More... | |
virtual void | CheckHwFailure () const =0 |
Check if device is in failure state. More... | |
virtual bool | IsDisabling () const =0 |
Check if device is disablig. More... | |
virtual void | Init ()=0 |
Executes a Init command. More... | |
virtual void | Enable ()=0 |
Executes a Enable command. More... | |
virtual void | Disable ()=0 |
Executes a Disable command. More... | |
virtual void | Stop ()=0 |
Executes a Stop command. More... | |
virtual void | Reset ()=0 |
Executes a Reset command. More... | |
virtual void | HwReset (modif::ReqHwReset &hwResetMsg)=0 |
Executes a hardware reset command. More... | |
virtual void | HwInit (modif::ReqHwInit &hwInitMsg)=0 |
Executes a hardware init command. More... | |
virtual void | HwEnable (modif::ReqHwEnable &hwEnableMsg)=0 |
Executes a hardware enable command. More... | |
virtual void | HwDisable (modif::ReqHwDisable &hwDisableMsg)=0 |
Executes a hardware disable command. More... | |
virtual void | UpdateStatus ()=0 |
Update internal status by connecting to the LCS. More... | |
virtual void | Setup (const modif::ReqSetup &setupMsg)=0 |
Executes a setup. More... | |
virtual bool | IsSetupActive (const modif::ReqSetup &setupMsg) const =0 |
Check if setup is still active. More... | |
virtual void | Status (const modif::ReqStatus &statusMsg, std::string &buffer)=0 |
Obtain the status of the device. More... | |
virtual void | Status (bool end_acq, const dit::did::Did &dictionary, CCfits::FITS *fits_handle=nullptr)=0 |
Obtain the status of the device. More... | |
virtual void | Simulate (const modif::ReqSimulate &msg)=0 |
Executes a Simulat. More... | |
virtual void | StopSim (const modif::ReqStopSim &msg)=0 |
Executes a StopSim. More... | |
virtual void | Ignore (const modif::ReqIgnore &msg)=0 |
Executes a Ignore. More... | |
virtual void | StopIgn (const modif::ReqStopIgn &msg)=0 |
Executes a StopIgn. More... | |
virtual std::shared_ptr < DeviceLcsIf > | GetLcsIf () const =0 |
Get a pointer of device LCS interface. More... | |
virtual std::shared_ptr < IDeviceConfig > | GetConfig () const =0 |
Get a pointer of device configuration. More... | |
virtual void | StartMonitoring ()=0 |
Start device monitoring via OPCUA subscriptions. More... | |
virtual void | StopMonitoring ()=0 |
Stop device monitoring. More... | |
virtual std::string | GetName () const =0 |
Get device name. More... | |
virtual void | CreateObjects (std::shared_ptr< devmgr::common::IDeviceConfig > config=nullptr)=0 |
Create basic objects needed by the device class. More... | |
virtual void | RegisterComm (std::shared_ptr< fcf::common::IComm > comm_if, fcf::common::Dispatcher<> &failure, fcf::common::Dispatcher<> &normal)=0 |
Register a communication interface object. More... | |
virtual bool | IsNotReady () const =0 |
Check if device is Standby/NotReady. More... | |
virtual bool | IsReady () const =0 |
Check if device is Standby/Ready. More... | |
virtual bool | IsOperational () const =0 |
Check if device is Operational. More... | |
virtual void | CheckHwFailure () const =0 |
Check if device is in failure state. More... | |
virtual bool | IsDisabling () const =0 |
Check if device is disablig. More... | |
virtual void | Init ()=0 |
Executes a Init command. More... | |
virtual void | Enable ()=0 |
Executes a Enable command. More... | |
virtual void | Disable ()=0 |
Executes a Disable command. More... | |
virtual void | Stop ()=0 |
Executes a Stop command. More... | |
virtual void | Reset ()=0 |
Executes a Reset command. More... | |
virtual void | HwReset (modif::ReqHwReset &hwResetMsg)=0 |
Executes a hardware reset command. More... | |
virtual void | HwInit (modif::ReqHwInit &hwInitMsg)=0 |
Executes a hardware init command. More... | |
virtual void | HwEnable (modif::ReqHwEnable &hwEnableMsg)=0 |
Executes a hardware enable command. More... | |
virtual void | HwDisable (modif::ReqHwDisable &hwDisableMsg)=0 |
Executes a hardware disable command. More... | |
virtual void | UpdateStatus ()=0 |
Update internal status by connecting to the LCS. More... | |
virtual void | Setup (const modif::ReqSetup &setupMsg)=0 |
Executes a setup. More... | |
virtual bool | IsSetupActive (const modif::ReqSetup &setupMsg) const =0 |
Check if setup is still active. More... | |
virtual void | Status (const modif::ReqStatus &statusMsg, std::string &buffer)=0 |
Obtain the status of the device. More... | |
virtual void | Status (bool end_acq, const dit::did::Did &dictionary, CCfits::FITS *fits_handle=nullptr)=0 |
Obtain the status of the device. More... | |
virtual void | Simulate (const modif::ReqSimulate &msg)=0 |
Executes a Simulat. More... | |
virtual void | StopSim (const modif::ReqStopSim &msg)=0 |
Executes a StopSim. More... | |
virtual void | Ignore (const modif::ReqIgnore &msg)=0 |
Executes a Ignore. More... | |
virtual void | StopIgn (const modif::ReqStopIgn &msg)=0 |
Executes a StopIgn. More... | |
virtual std::shared_ptr < DeviceLcsIf > | GetLcsIf () const =0 |
Get a pointer of device LCS interface. More... | |
virtual std::shared_ptr < IDeviceConfig > | GetConfig () const =0 |
Get a pointer of device configuration. More... | |
virtual void | StartMonitoring ()=0 |
Start device monitoring via OPCUA subscriptions. More... | |
virtual void | StopMonitoring ()=0 |
Stop device monitoring. More... | |
virtual std::string | GetName () const =0 |
Get device name. More... | |
virtual void | CreateObjects (std::shared_ptr< devmgr::common::IDeviceConfig > config=nullptr)=0 |
Create basic objects needed by the device class. More... | |
virtual void | RegisterComm (std::shared_ptr< fcf::common::IComm > comm_if, fcf::common::Dispatcher<> &failure, fcf::common::Dispatcher<> &normal)=0 |
Register a communication interface object. More... | |
virtual bool | IsNotReady () const =0 |
Check if device is Standby/NotReady. More... | |
virtual bool | IsReady () const =0 |
Check if device is Standby/Ready. More... | |
virtual bool | IsOperational () const =0 |
Check if device is Operational. More... | |
virtual void | CheckHwFailure () const =0 |
Check if device is in failure state. More... | |
virtual bool | IsDisabling () const =0 |
Check if device is disablig. More... | |
virtual void | Init ()=0 |
Executes a Init command. More... | |
virtual void | Enable ()=0 |
Executes a Enable command. More... | |
virtual void | Disable ()=0 |
Executes a Disable command. More... | |
virtual void | Stop ()=0 |
Executes a Stop command. More... | |
virtual void | Reset ()=0 |
Executes a Reset command. More... | |
virtual void | HwReset (modif::ReqHwReset &hwResetMsg)=0 |
Executes a hardware reset command. More... | |
virtual void | HwInit (modif::ReqHwInit &hwInitMsg)=0 |
Executes a hardware init command. More... | |
virtual void | HwEnable (modif::ReqHwEnable &hwEnableMsg)=0 |
Executes a hardware enable command. More... | |
virtual void | HwDisable (modif::ReqHwDisable &hwDisableMsg)=0 |
Executes a hardware disable command. More... | |
virtual void | UpdateStatus ()=0 |
Update internal status by connecting to the LCS. More... | |
virtual void | Setup (const modif::ReqSetup &setupMsg)=0 |
Executes a setup. More... | |
virtual bool | IsSetupActive (const modif::ReqSetup &setupMsg) const =0 |
Check if setup is still active. More... | |
virtual void | Status (const modif::ReqStatus &statusMsg, std::string &buffer)=0 |
Obtain the status of the device. More... | |
virtual void | Status (bool end_acq, const dit::did::Did &dictionary, CCfits::FITS *fits_handle=nullptr)=0 |
Obtain the status of the device. More... | |
virtual void | Simulate (const modif::ReqSimulate &msg)=0 |
Executes a Simulat. More... | |
virtual void | StopSim (const modif::ReqStopSim &msg)=0 |
Executes a StopSim. More... | |
virtual void | Ignore (const modif::ReqIgnore &msg)=0 |
Executes a Ignore. More... | |
virtual void | StopIgn (const modif::ReqStopIgn &msg)=0 |
Executes a StopIgn. More... | |
virtual std::shared_ptr < DeviceLcsIf > | GetLcsIf () const =0 |
Get a pointer of device LCS interface. More... | |
virtual std::shared_ptr < IDeviceConfig > | GetConfig () const =0 |
Get a pointer of device configuration. More... | |
virtual void | StartMonitoring ()=0 |
Start device monitoring via OPCUA subscriptions. More... | |
virtual void | StopMonitoring ()=0 |
Stop device monitoring. More... | |
virtual std::string | GetName () const =0 |
Get device name. More... | |
Device abstract class. This class represents the basic implementation of a device class. Most of the device share common properties and behavioural aspects. This class is implementing the common behaviour and defining the basic properties, as well as declaring the abstracts methods that need to be implemented by derived classes.
|
pure virtual |
Check if device is in failure state.
an | exception if an error ocurrs. |
Implemented in TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is in failure state.
an | exception if an error ocurrs. |
Implemented in TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is in failure state.
an | exception if an error ocurrs. |
Implemented in TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Create basic objects needed by the device class.
config | Shared pointer to configuration object |
|
pure virtual |
Create basic objects needed by the device class.
config | Shared pointer to configuration object |
|
pure virtual |
Create basic objects needed by the device class.
config | Shared pointer to configuration object |
|
pure virtual |
Executes a Disable command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Disable command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Disable command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Enable command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Enable command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Enable command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Get a pointer of device configuration.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Get a pointer of device configuration.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Get a pointer of device configuration.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Get a pointer of device LCS interface.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Get a pointer of device LCS interface.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Get a pointer of device LCS interface.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Get device name.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Get device name.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Get device name.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware disable command.
[in] | hwDisableMsg | payload of the hw disable message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware disable command.
[in] | hwDisableMsg | payload of the hw disable message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware disable command.
[in] | hwDisableMsg | payload of the hw disable message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware enable command.
[in] | hwEnableMsg | payload of the hw enable message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware enable command.
[in] | hwEnableMsg | payload of the hw enable message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware enable command.
[in] | hwEnableMsg | payload of the hw enable message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware init command.
[in] | hwInitMsg | payload of the hw init message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware init command.
[in] | hwInitMsg | payload of the hw init message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware init command.
[in] | hwInitMsg | payload of the hw init message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware reset command.
[in] | hwResetMsg | payload of the hw reset message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware reset command.
[in] | hwResetMsg | payload of the hw reset message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a hardware reset command.
[in] | hwResetMsg | payload of the hw reset message |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Ignore.
[in] | msg | contains the payload of the Ignore message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Ignore.
[in] | msg | contains the payload of the Ignore message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Ignore.
[in] | msg | contains the payload of the Ignore message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Init command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Init command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Init command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is disablig.
Implemented in testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, devmgr::sensor::Sensor, devmgr::sensor::Sensor, and devmgr::sensor::Sensor.
|
pure virtual |
Check if device is disablig.
Implemented in testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, devmgr::sensor::Sensor, devmgr::sensor::Sensor, and devmgr::sensor::Sensor.
|
pure virtual |
Check if device is disablig.
Implemented in testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, devmgr::sensor::Sensor, devmgr::sensor::Sensor, and devmgr::sensor::Sensor.
|
pure virtual |
Check if device is Standby/NotReady.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Standby/NotReady.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Standby/NotReady.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Operational.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Operational.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Operational.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Standby/Ready.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Standby/Ready.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if device is Standby/Ready.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Check if setup is still active.
[in] | setupMsg | Setup message object |
This method validate if condition requested by the setup message has been achieved.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Check if setup is still active.
[in] | setupMsg | Setup message object |
This method validate if condition requested by the setup message has been achieved.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Check if setup is still active.
[in] | setupMsg | Setup message object |
This method validate if condition requested by the setup message has been achieved.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Register a communication interface object.
[in] | comm_if | shared pointer to the communication interface object |
[in] | failure | dispatcher object for failure events |
[in] | normal | dispatcher object for recovery of failure events. |
This method register a particular communication interface to the device. Most of the devices will use OPCUA but there might be several implementations so with this method one can register an interface that has been created previously and registered in the communication factory.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, and TestShutter.
|
pure virtual |
Register a communication interface object.
[in] | comm_if | shared pointer to the communication interface object |
[in] | failure | dispatcher object for failure events |
[in] | normal | dispatcher object for recovery of failure events. |
This method register a particular communication interface to the device. Most of the devices will use OPCUA but there might be several implementations so with this method one can register an interface that has been created previously and registered in the communication factory.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, and TestShutter.
|
pure virtual |
Register a communication interface object.
[in] | comm_if | shared pointer to the communication interface object |
[in] | failure | dispatcher object for failure events |
[in] | normal | dispatcher object for recovery of failure events. |
This method register a particular communication interface to the device. Most of the devices will use OPCUA but there might be several implementations so with this method one can register an interface that has been created previously and registered in the communication factory.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, and TestShutter.
|
pure virtual |
Executes a Reset command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, and TestShutter.
|
pure virtual |
Executes a Reset command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, and TestShutter.
|
pure virtual |
Executes a Reset command.
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, and TestShutter.
|
pure virtual |
Executes a setup.
[in] | setupMsg | contains the payload of the setup message. |
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Executes a setup.
[in] | setupMsg | contains the payload of the setup message. |
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Executes a setup.
[in] | setupMsg | contains the payload of the setup message. |
an | exception if an error ocurrs. |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Executes a Simulat.
[in] | msg | contains the payload of the Simulat message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Simulat.
[in] | msg | contains the payload of the Simulat message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Simulat.
[in] | msg | contains the payload of the Simulat message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Start device monitoring via OPCUA subscriptions.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Start device monitoring via OPCUA subscriptions.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Start device monitoring via OPCUA subscriptions.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Obtain the status of the device.
statusMsg | Status message object |
buffer | Buffer where the status will be written |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Obtain the status of the device.
statusMsg | Status message object |
buffer | Buffer where the status will be written |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Obtain the status of the device.
statusMsg | Status message object |
buffer | Buffer where the status will be written |
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Obtain the status of the device.
end_acq | Flag to indicate is the end of the acquisition |
dictionary | Reference to the dictionary object |
fits_handle | Pointer to the CCFITS object |
This method will obtain the data from each device and add the corresponding meta-data to the CCfits object. If the end_acq is not true it will just register the start of the acquisition.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Obtain the status of the device.
end_acq | Flag to indicate is the end of the acquisition |
dictionary | Reference to the dictionary object |
fits_handle | Pointer to the CCFITS object |
This method will obtain the data from each device and add the corresponding meta-data to the CCfits object. If the end_acq is not true it will just register the start of the acquisition.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Obtain the status of the device.
end_acq | Flag to indicate is the end of the acquisition |
dictionary | Reference to the dictionary object |
fits_handle | Pointer to the CCFITS object |
This method will obtain the data from each device and add the corresponding meta-data to the CCfits object. If the end_acq is not true it will just register the start of the acquisition.
Implemented in testDeviceFacade::TestFailureDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, testDeviceFacade::TestMyDevice, TestMyDevice, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, and TestShutter.
|
pure virtual |
Executes a Stop command.
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Stop command.
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a Stop command.
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a StopIgn.
[in] | msg | contains the payload of the StopIgn message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a StopIgn.
[in] | msg | contains the payload of the StopIgn message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a StopIgn.
[in] | msg | contains the payload of the StopIgn message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Stop device monitoring.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Stop device monitoring.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Stop device monitoring.
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a StopSim.
[in] | msg | contains the payload of the StopSim message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a StopSim.
[in] | msg | contains the payload of the StopSim message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Executes a StopSim.
[in] | msg | contains the payload of the StopSim message. |
an | exception if an error ocurrs. |
Implemented in devmgr::common::Device, devmgr::common::Device, and devmgr::common::Device.
|
pure virtual |
Update internal status by connecting to the LCS.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, TestMyDevice, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Update internal status by connecting to the LCS.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, TestMyDevice, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.
|
pure virtual |
Update internal status by connecting to the LCS.
Implemented in testDeviceFacade::TestFailureDevice, testDeviceFacade::TestMyDevice, devmgr::common::Device, devmgr::common::Device, devmgr::common::Device, devmgr::motor::Motor, devmgr::motor::Motor, devmgr::motor::Motor, TestMyDevice, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::sensor::Sensor, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::lamp::Lamp, devmgr::shutter::Shutter, devmgr::shutter::Shutter, devmgr::shutter::Shutter, and TestShutter.