ifw
0.0.1-dev
|
#include <ActionsStd.hpp>
This class contains the implementation of the actions dealing with the following "standard" commands:
and the following signals:
In addition it implements the:
server2::ActionsStd::ActionsStd | ( | boost::asio::io_service & | ios, |
rad::Dispatcher & | dispatcher, | ||
rad::MsgReplier & | msgReplier, | ||
DataContext & | data | ||
) |
Constructor.
[in] | ios | Reference to the event loop. |
[in] | dispatcher | Reference to the event dispatcher. |
[in] | msgReplier | Helper class to reply to incoming requests. |
[in] | data | Data shared within the application among actions and activities. |
|
delete |
server2::ActionsStd::ActionsStd | ( | boost::asio::io_service & | ios, |
rad::Dispatcher & | dispatcher, | ||
rad::MsgReplier & | msgReplier, | ||
DataContext & | data | ||
) |
|
delete |
void server2::ActionsStd::Config | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Config action. This action:
void server2::ActionsStd::Config | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::Disable | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Disable action. This action:
[in] | lastEvent | Last event received which should be a Stop event (the Disable event is triggered by a ReqDisable request). |
void server2::ActionsStd::Disable | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::Enable | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::Enable | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Enable action. This action:
[in] | lastEvent | Last event received which should be a Stop event (the Enable event is triggered by a ReqEnable request). |
void server2::ActionsStd::Exit | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Exit action. This action:
[in] | lastEvent | Last event received which should be an Exit event (the Exit event is triggered by a ReqExit request). |
void server2::ActionsStd::Exit | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::ExitNoReply | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::ExitNoReply | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the ExitNoReply action. This action:
[in] | lastEvent | Last event received which should be an ExitNoReply event (the ExitNoReply event is triggered by a SIGTERM, SIGINT signals). |
void server2::ActionsStd::Init | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::Init | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Init action. This action:
[in] | lastEvent | Last event received which should be a Init event (the Init event is triggered by a ReqInit request). |
|
virtual |
Implementation of the scxml4cpp::EventListener interface to know when an event has been rejected/ignored/processed. It can be used to implement the event reject policy.
[in] | event | Rejected event. |
Implements scxml4cpp::EventListener.
|
virtual |
Implements scxml4cpp::EventListener.
|
virtual |
Implementation of the scxml4cpp::StatusListener interface to receive the change of state notification.
[in] | status | Current State Machine active states configuration. |
Implements scxml4cpp::StatusListener.
|
virtual |
Implements scxml4cpp::StatusListener.
|
delete |
Disable copy constructor.
|
delete |
Disable copy constructor.
void server2::ActionsStd::Reset | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Reset action. This action:
[in] | lastEvent | Last event received which should be a Stop event (the Disable event is triggered by a ReqReset request). |
void server2::ActionsStd::Reset | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::SetLog | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::SetLog | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the SetLog action. This action:
[in] | lastEvent | Last event received which should be a SetLog event (the SetLog event is triggered by a ReqSetLog request). |
void server2::ActionsStd::Status | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Status action. This action:
[in] | lastEvent | Last event received which should be a Status event (the Status event is triggered by a ReqStatus request). |
void server2::ActionsStd::Status | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsStd::Stop | ( | rad::AnyEvent const & | lastEvent | ) |
Implementation of the Stop action. This action:
[in] | lastEvent | Last event received which should be a Stop event (the Stop event is triggered by a ReqStop request). |
void server2::ActionsStd::Stop | ( | rad::AnyEvent const & | lastEvent | ) |