16#include <boost/statechart/event.hpp>
24namespace state_reactors
26template <
typename TSource,
typename TObjectTag = EmptyObjectTag>
31template <
typename TEv>
41 std::function<void(TEv *)> callback = [
this, sr_conditionalFunction](TEv * ev)
43 bool condition = sr_conditionalFunction(ev);
44 this->conditionFlag = condition;
void createEventCallback(void(TClass::*callback)(T *), TClass *object)
SrConditional(std::function< bool(TEv *)> sr_conditionalFunction)
std::map< const std::type_info *, bool > triggeredEvents