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

Method entry

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

Source from the content-addressed store, hash-verified

50: public Switch
51{
52 void entry() override { counter++; std::cout << "* Switch is OFF, counter=" << counter << std::endl; };
53 void react(Toggle const &) override { transit<On>(); };
54 int counter;
55

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected