ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Go to the documentation of this file.
9 #ifndef SERVER_ACTION_STD_HPP_
10 #define SERVER_ACTION_STD_HPP_
12 #include <rad/actionGroup.hpp>
13 #include <rad/signal.hpp>
14 #include <rad/smAdapter.hpp>
37 std::optional<std::string>
MakeStatusString(std::list<scxml4cpp::State*>&& states);
71 void GetState(scxml4cpp::Context* c);
89 void Stop(scxml4cpp::Context* c);
98 void Init(scxml4cpp::Context* c);
106 void Enable(scxml4cpp::Context* c);
114 void Disable(scxml4cpp::Context* c);
122 void Reset(scxml4cpp::Context* c);
140 void Exit(scxml4cpp::Context* c);
154 boost::asio::io_service& m_io_service;
155 rad::SMAdapter& m_sm;
156 rad::Signal m_signal;
162 #endif // SERVER_ACTION_STD_HPP_
void ExitNoReply(scxml4cpp::Context *c)
Implementation of the ExitNoReply action.
This class contains the implementation of the actions dealing with the standard commands from stdif....
ActionsStd & operator=(const ActionsStd &)=delete
Disable copy constructor.
void Reset(scxml4cpp::Context *c)
Implementation of the Reset action.
void Exit(scxml4cpp::Context *c)
Implementation of the Exit action.
void Init(scxml4cpp::Context *c)
Implementation of the Init action.
std::optional< std::string > MakeStatusString(std::list< scxml4cpp::State * > &&states)
Make a status string from active states (as returned from scxml4cpp::Executor::getStatus()).
void Stop(scxml4cpp::Context *c)
Implementation of the Stop action.
void Enable(scxml4cpp::Context *c)
Implementation of the Enable action.
void Disable(scxml4cpp::Context *c)
Implementation of the Disable action.
void SetLogLevel(scxml4cpp::Context *c)
Implementation of the SetLogLevel action.
This class provide access to the application run-time data including the in-memory DB.
void GetStatus(scxml4cpp::Context *c)
Implementation of the GetStatus action.
void GetState(scxml4cpp::Context *c)
Implementation of the GetState action.
ActionsStd(boost::asio::io_service &ios, rad::SMAdapter &sm, DataContext &data)
Constructor.
ActionsStd(const ActionsStd &)=delete