16#include <boost/statechart/event.hpp>
25namespace state_reactors
27template <
typename TSource,
typename TState>
32template <
typename TSource,
typename TState>
37template <
typename TSource,
typename TState>
55 double evBMax = 8,
double evCMin = 9,
double evCMax = 12);
59 template <
typename TState,
typename TSource>
62 this->
postEventA = [
this]() { this->postEvent<EventA<TSource, TState>>(); };
63 this->
postEventB = [
this]() { this->postEvent<EventB<TSource, TState>>(); };
64 this->
postEventC = [
this]() { this->postEvent<EventC<TSource, TState>>(); };
EgRandomGenerator(RandomGenerateReactorMode mode, double evAMin=1, double evAMax=4, double evBMin=5, double evBMax=8, double evCMin=9, double evCMax=12)
std::function< void()> postEventC
std::function< void()> postEventA
std::function< void()> postEventB
RandomGenerateReactorMode mode_
RandomGenerateReactorMode