ifw-sup 5.0.0
Loading...
Searching...
No Matches
actionsSetup.hpp
Go to the documentation of this file.
1
8#ifndef SUP_SUBSIM_COMMON_ACTIONS_SETUP_HPP_
9#define SUP_SUBSIM_COMMON_ACTIONS_SETUP_HPP_
10
11#include <ifw/core/utils/bat/logger.hpp>
12#include <ifw/sup/subsim/common/events.rad.hpp>
13
14#include <rad/actionGroup.hpp>
15#include <rad/smAdapter.hpp>
16#include <rad/mal/request.hpp>
17
18#include <scxml4cpp/Context.h>
19
20
22
23 class DataContext;
24
28 class ActionsSetup : public rad::ActionGroup
29 {
30 public:
40
47 void Start(scxml4cpp::Context* c);
48
56 void Stop(scxml4cpp::Context* c);
57
65 void Done(scxml4cpp::Context* c);
66
74 void Error(scxml4cpp::Context* c);
75
83 void Timeout(scxml4cpp::Context* c);
84
85 ActionsSetup(const ActionsSetup&) = delete;
87
88 private:
89
90 rad::cii::Request<std::string> m_setup_req;
91 log4cplus::Logger m_logger;
92 };
93
94}
95
96#endif // SUP_SUBSIM_COMMON_ACTIONS_SETUP_HPP_
Definition actionsSetup.hpp:29
void Stop(scxml4cpp::Context *c)
Definition actionsSetup.cpp:37
ActionsSetup & operator=(const ActionsSetup &)=delete
Disable assignment operator.
void Timeout(scxml4cpp::Context *c)
Definition actionsSetup.cpp:73
void Error(scxml4cpp::Context *c)
Definition actionsSetup.cpp:57
ActionsSetup()
Definition actionsSetup.cpp:20
ActionsSetup(const ActionsSetup &)=delete
Disable copy constructor.
void Done(scxml4cpp::Context *c)
Definition actionsSetup.cpp:51
void Start(scxml4cpp::Context *c)
Definition actionsSetup.cpp:25
ActionsInit class source file.
Definition actionMgr.cpp:30