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) {
42 bool condition = sr_conditionalFunction(ev);
43 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
void callback(const image_tools::ROSCvMatContainer &img)