rad  3.0.0
actionsStd.hpp
Go to the documentation of this file.
1 
9 #ifndef HELLOMAL_ACTION_STD_HPP_
10 #define HELLOMAL_ACTION_STD_HPP_
11 
12 #include <rad/actionGroup.hpp>
13 #include <rad/signal.hpp>
14 #include <rad/smAdapter.hpp>
15 
16 #include <string>
17 
18 namespace hellomal {
19 
20 class DataContext;
21 
45 class ActionsStd : public rad::ActionGroup {
46  public:
54  ActionsStd(boost::asio::io_service& ios,
55  rad::SMAdapter& sm,
56  DataContext& data);
57 
66 
75 
84 
91  void Stop(scxml4cpp::Context* c);
92 
100  void Init(scxml4cpp::Context* c);
101 
108  void Enable(scxml4cpp::Context* c);
109 
116  void Disable(scxml4cpp::Context* c);
117 
124  void Reset(scxml4cpp::Context* c);
125 
134 
142  void Exit(scxml4cpp::Context* c);
143 
151 
152  ActionsStd(const ActionsStd&) = delete;
153  ActionsStd& operator=(const ActionsStd&) = delete;
154 
155  private:
156  boost::asio::io_service& m_io_service;
157  rad::SMAdapter& m_sm;
158  rad::Signal m_signal;
159  DataContext& m_data;
160 };
161 
162 } // namespace hellomal
163 
164 #endif // HELLOMAL_ACTION_STD_HPP_
rad::SMAdapter
Definition: smAdapter.hpp:60
rad::Signal
Definition: signal.hpp:22
hellomal::DataContext
Definition: dataContext.hpp:21
hellomal::ActionsStd::ActionsStd
ActionsStd(const ActionsStd &)=delete
hellomal::ActionsStd::ActionsStd
ActionsStd(boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &data)
Definition: actionsStd.cpp:26
hellomal
Definition: actionMgr.cpp:21
hellomal::ActionsStd::GetStatus
void GetStatus(scxml4cpp::Context *c)
Definition: actionsStd.cpp:67
hellomal::ActionsStd::Enable
void Enable(scxml4cpp::Context *c)
Definition: actionsStd.cpp:111
hellomal::ActionsStd::GetState
void GetState(scxml4cpp::Context *c)
Definition: actionsStd.cpp:56
hellomal::ActionsStd::Stop
void Stop(scxml4cpp::Context *c)
Definition: actionsStd.cpp:89
hellomal::ActionsStd
Definition: actionsStd.hpp:45
hellomal::ActionsStd::GetVersion
void GetVersion(scxml4cpp::Context *c)
Definition: actionsStd.cpp:78
hellomal::ActionsStd::SetLogLevel
void SetLogLevel(scxml4cpp::Context *c)
Definition: actionsStd.cpp:144
hellomal::ActionsStd::Init
void Init(scxml4cpp::Context *c)
Definition: actionsStd.cpp:100
hellomal::ActionsStd::operator=
ActionsStd & operator=(const ActionsStd &)=delete
Disable copy constructor.
hellomal::ActionsStd::ExitNoReply
void ExitNoReply(scxml4cpp::Context *c)
Definition: actionsStd.cpp:51
hellomal::ActionsStd::Exit
void Exit(scxml4cpp::Context *c)
Definition: actionsStd.cpp:39
rad::ActionGroup
Definition: actionGroup.hpp:20
hellomal::ActionsStd::Disable
void Disable(scxml4cpp::Context *c)
Definition: actionsStd.cpp:122
hellomal::ActionsStd::Reset
void Reset(scxml4cpp::Context *c)
Definition: actionsStd.cpp:133
scxml4cpp::Context
Definition: Context.h:44