A base class for controlling flow of States of a Finite State Machine.
#include <StateDirector.hpp>
◆ addTransition()
bool rd::StateDirector::addTransition |
( |
StateDirector * |
nextState, |
|
|
int |
condition |
|
) |
| |
|
virtual |
- Parameters
-
nextState | State that will be reached if the condition is fulfilled |
condition | Condition that triggers the transition |
◆ Start()
virtual bool rd::StateDirector::Start |
( |
| ) |
|
|
pure virtual |
◆ Stop()
virtual bool rd::StateDirector::Stop |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files:
- src/libraries/StateMachineLib/StateDirector.hpp
- src/libraries/StateMachineLib/StateDirector.cpp