9 #ifndef SERVER_ACTION_STD_HPP_
10 #define SERVER_ACTION_STD_HPP_
12 #include <rad/actionGroup.hpp>
13 #include <rad/logger.hpp>
14 #include <rad/assert.hpp>
15 #include <rad/signal.hpp>
17 #include <scxml4cpp/StatusListener.h>
18 #include <scxml4cpp/EventListener.h>
49 public scxml4cpp::StatusListener,
50 public scxml4cpp::EventListener {
86 void Status(
const rad::AnyEvent& last_event);
95 void Stop(
const rad::AnyEvent& last_event);
105 void Init(
const rad::AnyEvent& last_event);
114 void Enable(
const rad::AnyEvent& last_event);
123 void Disable(
const rad::AnyEvent& last_event);
132 void Reset(
const rad::AnyEvent& last_event);
143 void Config(
const rad::AnyEvent& last_event);
153 void SetLog(
const rad::AnyEvent& last_event);
163 void Exit(
const rad::AnyEvent& last_event);
178 boost::asio::io_service& m_io_service;
179 rad::Signal m_signal;
181 std::string m_status;
183 std::string m_substate;
188 #endif // SERVER_ACTION_STD_HPP_
void Config(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:199
void Stop(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:140
ActionsStd & operator=(const ActionsStd &)=delete
Disable copy constructor.
void ExitNoReply(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:124
void notifyStatus(std::set< scxml4cpp::State * > &status)
Definition: actionsStd.cpp:39
Definition: actionsStd.hpp:48
ActionsStd(boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &data)
Definition: actionsStd.cpp:23
void notifyEvent(scxml4cpp::Event *event)
Definition: actionsStd.cpp:83
Definition: dataContext.hpp:21
void Reset(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:187
void Disable(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:175
void Init(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:151
void SetLog(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:212
void Exit(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:110
void Enable(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:163
void Status(const rad::AnyEvent &last_event)
Definition: actionsStd.cpp:129