Fsm

A state machine derived from the types it is based on.

Each state have its unique data that it works on.

The state transitions are calculated by next and the actions are performed by act.

Members

Aliases

StateT
alias StateT = sumtype.SumType!StateTT
Undocumented in source.

Static functions

opCall
StateT opCall(T a)

Helper function to convert the return type to StateT.

Variables

logNext
string logNext;

Log messages of the last state transition (next). Only updated in debug build.

state
StateT state;

The states and state specific data.

Meta