9 #ifndef RAD_GUARD_CALLBACK_HPP
10 #define RAD_GUARD_CALLBACK_HPP
12 #include <rad/anyEvent.hpp>
14 #include <scxml4cpp/Action.h>
15 #include <scxml4cpp/Context.h>
37 std::function<bool(AnyEvent const&)> m_guard_method;
42 #endif // RAD_GUARD_CALLBACK_HPP
Definition: guardCallback.hpp:24
void execute(scxml4cpp::Context *c) override
Definition: guardCallback.cpp:33
GuardCallback(const std::string id, std::function< bool(AnyEvent const &)> guard_method)
Definition: guardCallback.cpp:20
bool evaluate(scxml4cpp::Context *c) override
Definition: guardCallback.cpp:41
Definition: anyEvent.hpp:52
GuardCallback & operator=(GuardCallback &&)=default