public interface SbbStateMachine<ReturnCode extends Enum<ReturnCode>>
When an input is received the receivedInput() method is called. The state machine implementation will execute all input, exit and entry actions which are defined in the FSM.
Modifier and Type | Method and Description |
---|---|
ReturnCode |
execute()
Notify the state machine that an input has arrived and process it.
|
String |
getDescription() |
InputScheduler<FSMInput> |
getInputScheduler() |
int |
getMaxExecutionCycles() |
String |
getName() |
boolean |
isExecuting() |
void |
setMaxExecutionCycles(int maxExecutionCycles) |
ReturnCode execute()
input
- input to set in the input register of the state
machineInputScheduler<FSMInput> getInputScheduler()
String getName()
String getDescription()
boolean isExecuting()
int getMaxExecutionCycles()
void setMaxExecutionCycles(int maxExecutionCycles)