6#include <boost/statechart/event.hpp>
10namespace state_reactors
12template <
typename TSource,
typename TObjectTag = EmptyObjectTag>
25 template <
typename TEv>
28 std::function<void(TEv *)> callback =
30 bool condition = sr_conditionalFunction(ev);
31 this->conditionFlag = condition;
void createEventCallback(void(TClass::*callback)(T *), TClass *object)
Srsr_conditional(std::function< bool(TEv *)> sr_conditionalFunction)
virtual bool triggers() override
std::map< const std::type_info *, bool > triggeredEvents