|
|
#include <ArmarXCore/statechart/standardstates/CounterState.h>
Inheritance diagram for CounterStateTemplate< EventTypeConditionNotFulfilled, EventTypeConditionFulfilled >:Public Member Functions | |
| void | defineParameters () |
| void | onEnter () |
| void | onExit () |
Public Member Functions inherited from StateTemplate< CounterStateTemplate< EvCounterNotFulfilled, EvCounterFulfilled > > | |
| StateBasePtr | clone () const override |
| Creates a copy of this state. More... | |
Additional Inherited Members | |
Public Types inherited from StateTemplate< CounterStateTemplate< EvCounterNotFulfilled, EvCounterFulfilled > > | |
| using | Type = StateType |
Static Public Member Functions inherited from StateTemplate< CounterStateTemplate< EvCounterNotFulfilled, EvCounterFulfilled > > | |
| static IceInternal::Handle< StateType > | createInstance (std::string stateName="") |
| Creates a new state instance of the type of the template parameter. More... | |
Protected Member Functions inherited from StateTemplate< CounterStateTemplate< EvCounterNotFulfilled, EvCounterFulfilled > > | |
| StateTemplate () | |
| ~StateTemplate () override | |
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.
Definition at line 53 of file CounterState.h.
|
inline |
Definition at line 58 of file CounterState.h.
|
inline |
|
inline |