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>
38 std::function<bool(AnyEvent const&)> mGuardMethod;
GuardCallback(const std::string id, std::function< bool(AnyEvent const &)> guardMethod)
Definition: GuardCallback.cpp:20
Definition: GuardCallback.hpp:24
void execute(scxml4cpp::Context *c) override
Definition: GuardCallback.cpp:34
bool evaluate(scxml4cpp::Context *c) override
Definition: GuardCallback.cpp:43
Definition: AnyEvent.hpp:55
GuardCallback & operator=(GuardCallback &&)=default