MCPcopy Create free account
hub / github.com/digint/tinyfsm / Switch

Class Switch

examples/api/moore_machine.cpp:13–17  ·  view source on GitHub ↗

---------------------------------------------------------------------------- 2. State Machine Base Class Declaration

Source from the content-addressed store, hash-verified

11// 2. State Machine Base Class Declaration
12//
13struct Switch : tinyfsm::MooreMachine<Switch>
14{
15 /* pure virtual reaction (override required in all states) */
16 virtual void react(Toggle const &) = 0;
17};
18
19
20// ----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected