ifw-fcf
5.0.0-pre2
|
#include <actionsRecover.hpp>
Public Member Functions | |
ActionsRecover (boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &data_ctx, DeviceFacade &device_facade) | |
void | Start (scxml4cpp::Context *c) |
void | Stop (scxml4cpp::Context *c) |
void | Done (scxml4cpp::Context *c) |
void | Error (scxml4cpp::Context *c) |
void | Timeout (scxml4cpp::Context *c) |
ActionsRecover (const ActionsRecover &)=delete | |
Disable copy constructor. More... | |
ActionsRecover & | operator= (const ActionsRecover &)=delete |
Disable assignment operator. More... | |
Class grouping the actions related to the Recover event.
fcf::devmgr::common::ActionsRecover::ActionsRecover | ( | boost::asio::io_service & | ios, |
rad::SMAdapter & | sm, | ||
DataContext & | data_ctx, | ||
DeviceFacade & | device_facade | ||
) |
Constructor.
[in] | ios | Reference to the event loop. |
[in] | sm | State machine reference |
[in] | data_ctx | Data shared within the application among actions and activities. |
[in] | device_facade | Facade to all devices handled by the manager. |
|
delete |
Disable copy constructor.
void fcf::devmgr::common::ActionsRecover::Done | ( | scxml4cpp::Context * | c | ) |
Implementation of the Done callback. This method implements the actions when the Recover event was finalized.
[in] | last_event | Last event received. |
void fcf::devmgr::common::ActionsRecover::Error | ( | scxml4cpp::Context * | c | ) |
Implementation of the Error callback. This method implements the actions when the Recover event was finalized with an error.
[in] | last_event | Last event received. |
|
delete |
Disable assignment operator.
void fcf::devmgr::common::ActionsRecover::Start | ( | scxml4cpp::Context * | c | ) |
Implementation of the Start callback.
[in] | last_event | Last event received which should be a Start event (the Start event is triggered by a ReqRecover request). |
void fcf::devmgr::common::ActionsRecover::Stop | ( | scxml4cpp::Context * | c | ) |
Implementation of the Stop callback. This callback:
[in] | last_event | Last event received which should be a Stop event (the Stop event is triggered by a ReqStop request). |
void fcf::devmgr::common::ActionsRecover::Timeout | ( | scxml4cpp::Context * | c | ) |
Implementation of the Timeout callback. This method implements the actions when the Recover event was finalized unexpectly.
[in] | last_event | Last event received. |