rad 6.2.0
|
#include <actionMgr.hpp>
Public Member Functions | |
ActionMgr () | |
virtual | ~ActionMgr () |
void | CreateActions (boost::asio::io_context &ios, rad::SMAdapter &sm, DataContext &the_data) |
void | CreateActivities (rad::SMAdapter &sm, DataContext &the_data) |
ActionMgr (const ActionMgr &)=delete | |
ActionMgr & | operator= (const ActionMgr &)=delete |
Disable copy constructor. | |
![]() | |
ActionMgr () | |
template<class T > | |
void | RegisterAction (const std::string &id, void(T::*method)(scxml4cpp::Context *c), T *group) |
template<class T > | |
void | RegisterGuard (const std::string &id, bool(T::*method)(scxml4cpp::Context *c), T *group) |
void | AddAction (scxml4cpp::Action *the_action) |
void | AddActionGroup (rad::ActionGroup *the_action_group) |
void | AddActivity (scxml4cpp::Activity *the_activity) |
ActionList & | GetActions () |
ActionGroupList & | GetActionGroups () |
ActivityList & | GetActivities () |
scxml4cpp::Action * | FindAction (const std::string &id) |
ActionGroup * | FindActionGroup (const std::string &id) |
void | DelAction (const std::string &id) |
ActionMgr (const ActionMgr &)=delete | |
ActionMgr & | operator= (const ActionMgr &)=delete |
Disable copy constructor. | |
This class is responsible for the life-cycle management of actions and activities.
exmalserver::ActionMgr::ActionMgr | ( | ) |
Default constructor.
|
virtual |
Default destructor.
Reimplemented from rad::ActionMgr.
|
delete |
void exmalserver::ActionMgr::CreateActions | ( | boost::asio::io_context & | ios, |
rad::SMAdapter & | sm, | ||
DataContext & | the_data ) |
Method to instantiate the action objects.
[in] | ios | Event loop. |
[in] | sm | SM adapter used to inject internal events. |
[in] | the_data | Data shared within the application among actions and activities. |
void exmalserver::ActionMgr::CreateActivities | ( | rad::SMAdapter & | sm, |
DataContext & | the_data ) |
Method to instantiate activity objects.
[in] | the_data | Data shared within the application. |
[in] | sm | Reference to the State Machine adapter needed to trigger internal events. |
Disable copy constructor.