10#ifndef RAD_ACTION_MGR_HPP
11#define RAD_ACTION_MGR_HPP
49 using std::placeholders::_1;
51 if (the_action ==
nullptr) {
62 using std::placeholders::_1;
64 if (the_guard ==
nullptr) {
ActionCallback class header file.
ActionGroup class header file.
Definition actionCallback.hpp:26
Definition actionGroup.hpp:20
Definition actionMgr.hpp:40
void AddAction(scxml4cpp::Action *the_action)
Definition actionMgr.cpp:57
virtual ~ActionMgr()
Definition actionMgr.cpp:24
ActionList & GetActions()
Definition actionMgr.cpp:88
void AddActionGroup(rad::ActionGroup *the_action_group)
Definition actionMgr.cpp:68
void DelAction(const std::string &id)
Definition actionMgr.cpp:151
ActionMgr(const ActionMgr &)=delete
void AddActivity(scxml4cpp::Activity *the_activity)
Definition actionMgr.cpp:79
ActionGroupList & GetActionGroups()
Definition actionMgr.cpp:96
void RegisterGuard(const std::string &id, bool(T::*method)(scxml4cpp::Context *c), T *group)
Definition actionMgr.hpp:59
void RegisterAction(const std::string &id, void(T::*method)(scxml4cpp::Context *c), T *group)
Definition actionMgr.hpp:46
ActionMgr & operator=(const ActionMgr &)=delete
Disable copy constructor.
scxml4cpp::Action * FindAction(const std::string &id)
Definition actionMgr.cpp:115
ActivityList & GetActivities()
Definition actionMgr.cpp:104
ActionMgr()
Definition actionMgr.cpp:19
ActionGroup * FindActionGroup(const std::string &id)
Definition actionMgr.cpp:136
Base class for the exceptions thrown by RAD and its users.
Definition exceptions.hpp:53
Definition guardCallback.hpp:24
#define RAD_LOG_THROW(exceptionType_t, logger, msg)
Throw exception with information about the throw location.
Definition exceptions.hpp:356
GuardCallback class header file.
Definition actionsApp.cpp:23
log4cplus::Logger & GetLogger()
Definition logger.cpp:72
std::list< scxml4cpp::Activity * > ActivityList
Definition actionMgr.hpp:34
std::list< scxml4cpp::Action * > ActionList
Definition actionMgr.hpp:32
std::list< rad::ActionGroup * > ActionGroupList
Definition actionMgr.hpp:33
Definition testCoroActivity.cpp:16