#include <actionMgr.hpp>
Public Member Functions | |
ActionMgr () | |
virtual | ~ActionMgr () |
void | CreateActions (boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &the_data) |
void | CreateActivities (DataContext &the_data, rad::SMAdapter &sm) |
ActionMgr (const ActionMgr &)=delete | |
ActionMgr & | operator= (const ActionMgr &)=delete |
Disable copy constructor. More... | |
This class is responsible for the life-cycle management of actions and activities.
server::ActionMgr::ActionMgr | ( | ) |
Default constructor.
|
virtual |
Default destructor.
|
delete |
void server::ActionMgr::CreateActions | ( | boost::asio::io_service & | ios, |
rad::SMAdapter & | sm, | ||
DataContext & | the_data | ||
) |
Method to instantiate the action objects.
[in] | ios | Event loop. |
[in] | dispatcher | Event dispatcher. |
[in] | msgReplier | Helper class to reply to incoming requests. |
[in] | theData | Data shared within the application among actions and activities. |
void server::ActionMgr::CreateActivities | ( | DataContext & | the_data, |
rad::SMAdapter & | sm | ||
) |
Method to instantiate activity objects.
[in] | theData | Data shared within the application. |
[in] | sm | Reference to the State Machine adapter needed to trigger internal events. |