#include <actionsInit.hpp>
Class grouping the actions related to the Init event (command).
fcf::devmgr::common::ActionsInit::ActionsInit |
( |
boost::asio::io_service & |
ios, |
|
|
rad::SMAdapter & |
sm, |
|
|
DataContext & |
data_ctx, |
|
|
DeviceFacade & |
device_facade |
|
) |
| |
Constructor.
- Parameters
-
[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. |
fcf::devmgr::common::ActionsInit::ActionsInit |
( |
const ActionsInit & |
| ) |
|
|
delete |
Disable copy constructor.
void fcf::devmgr::common::ActionsInit::Done |
( |
rad::AnyEvent const & |
last_event | ) |
|
Implementation of the Done callback. This method implements the actions when the Init event was finalized.
- Parameters
-
[in] | last_event | Last event received. |
void fcf::devmgr::common::ActionsInit::Error |
( |
rad::AnyEvent const & |
last_event | ) |
|
Implementation of the Error callback. This method implements the actions when the Init event was finalized with an error.
- Parameters
-
[in] | last_event | Last event received. |
Disable assignment operator.
void fcf::devmgr::common::ActionsInit::Start |
( |
rad::AnyEvent const & |
last_event | ) |
|
Implementation of the Start callback.
- Parameters
-
[in] | last_event | Last event received which should be a Start event (the Start event is triggered by a ReqInit request). |
void fcf::devmgr::common::ActionsInit::Stop |
( |
rad::AnyEvent const & |
last_event | ) |
|
Implementation of the Stop callback. This callback:
- replies back for the originator of the ReqStop request.
- Parameters
-
[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::ActionsInit::Timeout |
( |
rad::AnyEvent const & |
last_event | ) |
|
Implementation of the Timeout callback. This method implements the actions when the Init event was finalized with a timeout.
- Parameters
-
[in] | last_event | Last event received. |
The documentation for this class was generated from the following files: