template<class EventTypeConditionNotFulfilled = EvCounterNotFulfilled, class EventTypeConditionFulfilled = EvCounterFulfilled>
class armarx::CounterStateTemplate< EventTypeConditionNotFulfilled, EventTypeConditionFulfilled >
Stateimplementation, that increments a given counter by one on the SystemObserver and installs 2 conditions with different events, which trigger on Counter-Threshold-Reached and Counter-Threshold-Not-Reached.
You can pass your own events to this State as Template parameters. The first template parameter is the Event, that should be send on Counter-Threshold-Reached and the second template parameter is the Event, that should be send on Counter-Threshold-Not-Reached.
- Note
- If you want to use the Standardevents, just use the typedef CounterState.
- See also
- CounterState
Definition at line 53 of file CounterState.h.