rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
server::ActionMgr Class Reference

#include <actionMgr.hpp>

Inheritance diagram for server::ActionMgr:
rad::ActionMgr rad::ActionMgr

Public Member Functions

 ActionMgr ()
 
virtual ~ActionMgr ()
 
void CreateActions (boost::asio::io_service &ios, rad::SMAdapter &sm, rad::MsgReplier &msg_replier, DataContext &the_data)
 
void CreateActivities (DataContext &the_data, rad::SMAdapter &sm)
 
 ActionMgr (const ActionMgr &)=delete
 
ActionMgroperator= (const ActionMgr &)=delete
 Disable copy constructor. More...
 
 ActionMgr ()
 
virtual ~ActionMgr ()
 
void CreateActions (boost::asio::io_service &ios, rad::SMAdapter &sm, rad::MsgReplier &msg_replier, DataContext &the_data)
 
void CreateActivities (DataContext &the_data, rad::SMAdapter &sm)
 
 ActionMgr (const ActionMgr &)=delete
 
ActionMgroperator= (const ActionMgr &)=delete
 Disable copy constructor. More...
 
- Public Member Functions inherited from rad::ActionMgr
 ActionMgr ()
 
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)
 
 ActionMgr (const ActionMgr &)=delete
 
ActionMgroperator= (const ActionMgr &)=delete
 Disable copy constructor. More...
 
 ActionMgr ()
 
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)
 
 ActionMgr (const ActionMgr &)=delete
 
ActionMgroperator= (const ActionMgr &)=delete
 Disable copy constructor. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

server::ActionMgr::ActionMgr ( )

Default constructor.

server::ActionMgr::~ActionMgr ( )
virtual

Default destructor.

Reimplemented from rad::ActionMgr.

server::ActionMgr::ActionMgr ( const ActionMgr )
delete
server::ActionMgr::ActionMgr ( )
virtual server::ActionMgr::~ActionMgr ( )
virtual

Delete all registered actions, group of actions, and activities.

Reimplemented from rad::ActionMgr.

server::ActionMgr::ActionMgr ( const ActionMgr )
delete

Member Function Documentation

void server::ActionMgr::CreateActions ( boost::asio::io_service &  ios,
rad::SMAdapter sm,
rad::MsgReplier msg_replier,
DataContext the_data 
)

Method to instantiates the action objects.

Parameters
[in]iosEvent loop.
[in]smSM Adapter used to inject internal events.
[in]msg_replierHelper class to reply to incoming requests.
[in]the_dataData shared within the application among actions and activities.
void server::ActionMgr::CreateActions ( boost::asio::io_service &  ios,
rad::SMAdapter sm,
rad::MsgReplier msg_replier,
DataContext the_data 
)
void server::ActionMgr::CreateActivities ( DataContext the_data,
rad::SMAdapter sm 
)
void server::ActionMgr::CreateActivities ( DataContext the_data,
rad::SMAdapter sm 
)

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.
ActionMgr& server::ActionMgr::operator= ( const ActionMgr )
delete

Disable copy constructor.

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

Disable copy constructor.


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