ifw
0.0.1-dev
|
#include <actionMgr.hpp>
This class is responsible for the life-cycle management of actions and activities.
It provides two methods (CreateActions(), CreateActivities()) to create the actions and activities objects used by the State Machine engine.
Action and activity objects are deleted in the base class destructor.
devmgr::common::ActionMgr::ActionMgr | ( | ) |
Default constructor.
|
virtual |
Default destructor.
Reimplemented from rad::ActionMgr.
devmgr::common::ActionMgr::ActionMgr | ( | ) |
Default constructor.
|
virtual |
Default destructor.
Reimplemented from rad::ActionMgr.
devmgr::common::ActionMgr::ActionMgr | ( | ) |
Default constructor.
|
virtual |
Default destructor.
Reimplemented from rad::ActionMgr.
void devmgr::common::ActionMgr::CreateActions | ( | boost::asio::io_service & | ios, |
rad::SMAdapter & | sm, | ||
rad::Dispatcher & | dispatcher, | ||
rad::MsgReplier & | msg_replier, | ||
DataContext & | the_data, | ||
DeviceFacade & | device_facade | ||
) |
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 devmgr::common::ActionMgr::CreateActions | ( | boost::asio::io_service & | ios, |
rad::SMAdapter & | sm, | ||
rad::Dispatcher & | dispatcher, | ||
rad::MsgReplier & | msg_replier, | ||
DataContext & | the_data, | ||
DeviceFacade & | device_facade | ||
) |
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 devmgr::common::ActionMgr::CreateActions | ( | boost::asio::io_service & | ios, |
rad::SMAdapter & | sm, | ||
rad::Dispatcher & | dispatcher, | ||
rad::MsgReplier & | msg_replier, | ||
DataContext & | the_data, | ||
DeviceFacade & | device_facade | ||
) |
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 devmgr::common::ActionMgr::CreateActivities | ( | DataContext & | the_data, |
rad::SMAdapter & | sm, | ||
DeviceFacade & | device_facade | ||
) |
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. |
void devmgr::common::ActionMgr::CreateActivities | ( | DataContext & | the_data, |
rad::SMAdapter & | sm, | ||
DeviceFacade & | device_facade | ||
) |
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. |
void devmgr::common::ActionMgr::CreateActivities | ( | DataContext & | the_data, |
rad::SMAdapter & | sm, | ||
DeviceFacade & | device_facade | ||
) |
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. |
Disable assignment operator.
Disable assignment operator.
Disable assignment operator.