|
| MyShutter (const std::string &filename, const std::string &name, ifw::fcf::devmgr::common::DataContext &data_ctx) |
|
void | CreateObjects (std::shared_ptr< ifw::fcf::devmgr::common::IDeviceConfig > config) |
|
| Shutter (const std::string filename, const std::string name, ifw::fcf::devmgr::common::DataContext &data_ctx) |
| Shutter constructor.
|
|
virtual | ~Shutter ()=default |
| Default destructor.
|
|
void | CreateObjects (std::shared_ptr< ifw::fcf::devmgr::common::IDeviceConfig > config=nullptr) override |
| Create object instances.
|
|
virtual void | UpdateStatus () |
| Update the status of the shutter device in the OLDB.
|
|
virtual void | Setup (const std::any &payload) override |
| Executes a setup of the shutter device.
|
|
virtual bool | IsSetupActive (const std::any &payload) const override |
| Check if last setup message is still active.
|
|
virtual void | Status (const std::any &payload, std::string &buffer) override |
| Obtain the status of the device.
|
|
virtual void | Status (bool end_acq, const ifw::core::dit::did::Did &dictionary, std::shared_ptr< CCfits::FITS > &fits_handle) override |
| Obtain the status of the device.
|
|
| Device (const std::string filename, const std::string name, DataContext &data_ctx) |
| Device abstract class constructor.
|
|
virtual | ~Device () |
| Default destructor.
|
|
virtual bool | IsNotReady () const override |
| Check if device is Standby/NotReady.
|
|
virtual bool | IsReady () const override |
| Check if device is Standby/Ready.
|
|
virtual bool | IsOperational () const override |
| Check if device is Operational.
|
|
virtual void | CheckHwFailure () const override |
| Check if device is in failure state.
|
|
virtual bool | IsDisabling () const override |
| Check if device is disablig.
|
|
virtual void | Init () override |
| Executes a Init command.
|
|
virtual void | Enable () override |
| Executes a Enable command.
|
|
virtual void | Disable () override |
| Executes a Disable command.
|
|
virtual void | Stop () override |
| Executes a Stop command.
|
|
virtual void | Reset () override |
| Executes a Reset command.
|
|
void | GetStatusBuffer (const std::string &stat_prefix, const DeviceControllerData *const data, std::string &buffer) |
|
void | GetStatusHeader (const std::string &prefix, const ifw::core::dit::did::Did &dictionary, std::shared_ptr< CCfits::FITS > &fits_handle) |
| Obtain the status of the device.
|
|
virtual void | Simulate (rad::AnyEvent const &last_event) override |
| Executes a Simulat.
|
|
virtual void | StopSim (rad::AnyEvent const &last_event) override |
| Executes a StopSim.
|
|
virtual void | Ignore (rad::AnyEvent const &last_event) override |
| Executes a Ignore.
|
|
virtual void | StopIgn (rad::AnyEvent const &last_event) override |
| Executes a StopIgn.
|
|
virtual void | HwReset (rad::AnyEvent const &last_event) override |
| Executes a hardware reset command.
|
|
virtual void | HwInit (rad::AnyEvent const &last_event) override |
| Executes a hardware init command.
|
|
virtual void | HwEnable (rad::AnyEvent const &last_event) override |
| Executes a hardware enable command.
|
|
virtual void | HwDisable (rad::AnyEvent const &last_event) override |
| Executes a hardware disable command.
|
|
virtual void | StartMonitoring () override |
| Start device monitoring via OPCUA subscriptions.
|
|
virtual void | StopMonitoring () override |
| Stop device monitoring.
|
|
virtual std::string | GetName () const noexcept override |
| Get device id.
|
|
virtual std::string | GetLogName () const noexcept |
| Get device id for logging purposes.
|
|
virtual std::shared_ptr< ifw::fcf::devmgr::common::DeviceLcsIf > | GetLcsIf () const noexcept |
|
virtual std::shared_ptr< ifw::fcf::devmgr::common::IDeviceConfig > | GetConfig () const noexcept |
| Get a pointer of device configuration.
|
|
void | RegisterComm (std::shared_ptr< ifw::core::protocol::base::IComm > comm_if, ifw::core::protocol::base::Dispatcher<> &failure, ifw::core::protocol::base::Dispatcher<> &normal) |
| Register a communication interface object.
|
|
virtual void | CreateObjects (std::shared_ptr< ifw::fcf::devmgr::common::IDeviceConfig > config=nullptr)=0 |
| Create basic objects needed by the device class.
|
|
Dummy Test shutter class used for testing purposes.