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

#include <actionMgr.hpp>

Inheritance diagram for rad::ActionMgr:
exmalserver::ActionMgr exmalserver::ActionMgr hello::ActionMgr hello::ActionMgr hellomal::ActionMgr hellomal::ActionMgr server::ActionMgr server::ActionMgr

Public Member Functions

 ActionMgr ()
 
virtual ~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 ()
 
virtual ~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, action groups, and do-activities objects.

Constructor & Destructor Documentation

rad::ActionMgr::ActionMgr ( )

Default Constructor.

rad::ActionMgr::~ActionMgr ( )
virtual

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

Reimplemented in exmalserver::ActionMgr, exmalserver::ActionMgr, server::ActionMgr, server::ActionMgr, hello::ActionMgr, hellomal::ActionMgr, hellomal::ActionMgr, and hello::ActionMgr.

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

Member Function Documentation

void rad::ActionMgr::AddAction ( scxml4cpp::Action the_action)

Register an action.

Parameters
the_actionAction to be added.
void rad::ActionMgr::AddAction ( scxml4cpp::Action the_action)
void rad::ActionMgr::AddActionGroup ( rad::ActionGroup the_action_group)

Register a group of actions.

Parameters
the_action_groupAction group to be added.
void rad::ActionMgr::AddActionGroup ( rad::ActionGroup the_action_group)
void rad::ActionMgr::AddActivity ( scxml4cpp::Activity the_activity)

Register an activity.

Parameters
the_activityActivity to be added.
void rad::ActionMgr::AddActivity ( scxml4cpp::Activity the_activity)
scxml4cpp::Action* rad::ActionMgr::FindAction ( const std::string &  id)
scxml4cpp::Action * rad::ActionMgr::FindAction ( const std::string &  id)

Find an action among the registered ones.

Parameters
[in]idIdentifier of the action.
Returns
The action if registered or nullptr if not.
ActionGroup * rad::ActionMgr::FindActionGroup ( const std::string &  id)

Find an action group among the registered ones.

Parameters
[in]idIdentifier of the action group.
Returns
The action group if registered or nullptr if not.
ActionGroup* rad::ActionMgr::FindActionGroup ( const std::string &  id)
ActionGroupList & rad::ActionMgr::GetActionGroups ( )
Returns
The list of registered action groups.
ActionGroupList& rad::ActionMgr::GetActionGroups ( )
ActionList & rad::ActionMgr::GetActions ( )
Returns
The list of registered actions.
ActionList& rad::ActionMgr::GetActions ( )
ActivityList & rad::ActionMgr::GetActivities ( )
Returns
The list of registered activities.
ActivityList& rad::ActionMgr::GetActivities ( )
ActionMgr& rad::ActionMgr::operator= ( const ActionMgr )
delete

Disable copy constructor.

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

Disable copy constructor.


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