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

Method react

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

Source from the content-addressed store, hash-verified

26{
27 void entry() override { std::cout << "* Closing ciruit (light goes ON)" << std::endl; };
28 void react(Toggle const &) override { transit<Off>(); };
29};
30
31struct Off : Switch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected