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

Class On

examples/api/debugging_switch.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48};
49
50struct On : Switch {
51 void react(Toggle const &) override { transit<Off>(); };
52};
53
54struct Off : Switch {
55 void react(Toggle const &) override { transit<On>(); };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected