rad 8.2.0
Loading...
Searching...
No Matches
actionsStd.hpp
Go to the documentation of this file.
1
9#ifndef {{cookiecutter.module_name|upper}}_ACTION_STD_HPP_
10#define {{cookiecutter.module_name|upper}}_ACTION_STD_HPP_
11
12#include <rad/actionGroup.hpp>
13#include <rad/signal.hpp>
14#include <rad/smAdapter.hpp>
15
16#include <string>
17
18namespace {{cookiecutter.module_name}} {
19
20class DataContext;
21
45class ActionsStd : public rad::ActionGroup {
46 public:
54 ActionsStd(boost::asio::io_context& ios,
55 rad::SMAdapter& sm,
56 DataContext& data);
57
65 void GetState(scxml4cpp::Context* c);
66
74 void GetStatus(scxml4cpp::Context* c);
75
83 void GetVersion(scxml4cpp::Context* c);
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
133 void SetLogLevel(scxml4cpp::Context* c);
134
142 void Exit(scxml4cpp::Context* c);
143
150 void ExitNoReply(scxml4cpp::Context* c);
151
152 ActionsStd(const ActionsStd&) = delete;
153 ActionsStd& operator=(const ActionsStd&) = delete;
154
155 private:
156 boost::asio::io_context& m_io_context;
157 rad::SMAdapter& m_sm;
158 rad::Signal m_signal;
159 DataContext& m_data;
160};
161
162} // namespace {{cookiecutter.module_name}}
163
164#endif // {{cookiecutter.module_name|upper}}_ACTION_STD_HPP_
ActionGroup class header file.
Definition actionGroup.hpp:20
ActionGroup & operator=(const ActionGroup &)=delete
Disable copy constructor.
Signal class.
SMAdapter class header file.
#define cookiecutter