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

Method entry

examples/api/resetting_switch.cpp:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39: public Switch
40{
41 void entry() override { counter++; std::cout << "* Switch is ON, counter=" << counter << std::endl; };
42 void react(Toggle const &) override { transit<Off>(); };
43 int counter;
44

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected