$darkmode
Public Member Functions | |
| void | run (SimulationContext &ctx) |
| void | run_machine (StateId initial, SimulationContext &ctx) |
| void | pause () |
| void | resume () |
| void | stop () |
| void | succeed () |
| void | fail () |
| void | reset () |
| void | abort () |
| StateId | handle_interrupt (StateId nominal, StateId interrupt, SimulationContext &ctx) override |
Friends | |
| void | to_json (cloe::Json &j, const SimulationMachine &m) |
|
inlineoverridevirtual |
Handle an interrupt.
This method will be called between states, with the nominal state that would have occurred being passed along.
Implements engine::StateMachine< State< SimulationMachine, SimulationContext >, SimulationContext >.