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

Method entry

examples/api/multiple_switch.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 // note: base class is not known in dependend template
64 using base = DefectiveSwitch<inum>;
65 void entry() override {
66 base::on_counter++;
67 DumpState(inum, "ON ", base::on_counter, base::defect_level);
68 };
69 void react(Toggle const &) override {
70 base::template transit< Off<inum> >();
71 };

Callers

nothing calls this directly

Calls 1

DumpStateFunction · 0.85

Tested by

no test coverage detected