9 #ifndef RAD_ACTION_CALLBACK_HPP
10 #define RAD_ACTION_CALLBACK_HPP
12 #include <rad/anyEvent.hpp>
14 #include <scxml4cpp/Action.h>
15 #include <scxml4cpp/Context.h>
26 ActionCallback(
const std::string
id, std::function<
void(AnyEvent
const&)> action_method);
35 std::function<void(AnyEvent const&)> m_action_method;
40 #endif // RAD_ACTION_CALLBACK_HPP
ActionCallback(const std::string id, std::function< void(AnyEvent const &)> action_method)
Definition: actionCallback.cpp:20
ActionCallback & operator=(const ActionCallback &)=delete
Disable copy constructor.
void execute(scxml4cpp::Context *c)
Definition: actionCallback.cpp:33
bool evaluate(scxml4cpp::Context *c)
Definition: actionCallback.cpp:57