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

Function DumpState

examples/api/multiple_switch.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14class Off; // forward declaration
15
16static void DumpState(int inum, const char * state, int on_counter, int defect_level) {
17 std::cout << "* Switch[" << inum << "] is " << state << " (on_counter=" << on_counter << ", defect_level=" << defect_level << ")" << std::endl;
18}
19
20// ----------------------------------------------------------------------------
21// 1. Event Declarations

Callers 2

entryMethod · 0.85
entryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected