rad  3.0.0
Public Member Functions | List of all members
rad::ActionMgr Class Reference

#include <actionMgr.hpp>

Inheritance diagram for rad::ActionMgr:
exmalserver::ActionMgr hello::ActionMgr hellomal::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

◆ ActionMgr() [1/4]

rad::ActionMgr::ActionMgr ( )

Default Constructor.

◆ ~ActionMgr() [1/2]

rad::ActionMgr::~ActionMgr ( )
virtual

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

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

◆ ActionMgr() [2/4]

rad::ActionMgr::ActionMgr ( const ActionMgr )
delete

◆ ActionMgr() [3/4]

rad::ActionMgr::ActionMgr ( )

◆ ~ActionMgr() [2/2]

virtual rad::ActionMgr::~ActionMgr ( )
virtual

◆ ActionMgr() [4/4]

rad::ActionMgr::ActionMgr ( const ActionMgr )
delete

Member Function Documentation

◆ AddAction() [1/2]

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

Register an action.

Parameters
the_actionAction to be added.

◆ AddAction() [2/2]

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

◆ AddActionGroup() [1/2]

void rad::ActionMgr::AddActionGroup ( rad::ActionGroup the_action_group)

Register a group of actions.

Parameters
the_action_groupAction group to be added.

◆ AddActionGroup() [2/2]

void rad::ActionMgr::AddActionGroup ( rad::ActionGroup the_action_group)

◆ AddActivity() [1/2]

void rad::ActionMgr::AddActivity ( scxml4cpp::Activity the_activity)

Register an activity.

Parameters
the_activityActivity to be added.

◆ AddActivity() [2/2]

void rad::ActionMgr::AddActivity ( scxml4cpp::Activity the_activity)

◆ FindAction() [1/2]

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.

◆ FindAction() [2/2]

scxml4cpp::Action* rad::ActionMgr::FindAction ( const std::string &  id)

◆ FindActionGroup() [1/2]

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.

◆ FindActionGroup() [2/2]

ActionGroup* rad::ActionMgr::FindActionGroup ( const std::string &  id)

◆ GetActionGroups() [1/2]

ActionGroupList & rad::ActionMgr::GetActionGroups ( )
Returns
The list of registered action groups.

◆ GetActionGroups() [2/2]

ActionGroupList& rad::ActionMgr::GetActionGroups ( )

◆ GetActions() [1/2]

ActionList & rad::ActionMgr::GetActions ( )
Returns
The list of registered actions.

◆ GetActions() [2/2]

ActionList& rad::ActionMgr::GetActions ( )

◆ GetActivities() [1/2]

ActivityList & rad::ActionMgr::GetActivities ( )
Returns
The list of registered activities.

◆ GetActivities() [2/2]

ActivityList& rad::ActionMgr::GetActivities ( )

◆ operator=() [1/2]

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

Disable copy constructor.

◆ operator=() [2/2]

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

Disable copy constructor.


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