rad 6.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
exmalserver::ActionMgr Class Reference

#include <actionMgr.hpp>

Inheritance diagram for exmalserver::ActionMgr:
rad::ActionMgr

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
 
ActionMgroperator= (const ActionMgr &)=delete
 Disable copy constructor.
 
- Public Member Functions inherited from rad::ActionMgr
 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)
 
ActionListGetActions ()
 
ActionGroupListGetActionGroups ()
 
ActivityListGetActivities ()
 
scxml4cpp::ActionFindAction (const std::string &id)
 
ActionGroupFindActionGroup (const std::string &id)
 
void DelAction (const std::string &id)
 
 ActionMgr (const ActionMgr &)=delete
 
ActionMgroperator= (const ActionMgr &)=delete
 Disable copy constructor.
 

Detailed Description

This class is responsible for the life-cycle management of actions and activities.

Constructor & Destructor Documentation

◆ ActionMgr() [1/2]

exmalserver::ActionMgr::ActionMgr ( )

Default constructor.

◆ ~ActionMgr()

exmalserver::ActionMgr::~ActionMgr ( )
virtual

Default destructor.

Reimplemented from rad::ActionMgr.

◆ ActionMgr() [2/2]

exmalserver::ActionMgr::ActionMgr ( const ActionMgr & )
delete

Member Function Documentation

◆ CreateActions()

void exmalserver::ActionMgr::CreateActions ( boost::asio::io_context & ios,
rad::SMAdapter & sm,
DataContext & the_data )

Method to instantiate the action objects.

Parameters
[in]iosEvent loop.
[in]smSM adapter used to inject internal events.
[in]the_dataData shared within the application among actions and activities.

◆ CreateActivities()

void exmalserver::ActionMgr::CreateActivities ( rad::SMAdapter & sm,
DataContext & the_data )

Method to instantiate activity objects.

Parameters
[in]the_dataData shared within the application.
[in]smReference to the State Machine adapter needed to trigger internal events.

◆ operator=()

ActionMgr & exmalserver::ActionMgr::operator= ( const ActionMgr & )
delete

Disable copy constructor.


The documentation for this class was generated from the following files: