Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/digint/tinyfsm
/ entry
Method
entry
examples/api/simple_switch.cpp:42–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
struct Off : Switch
41
{
42
void entry() override { std::cout <<
"* Switch is OFF"
<< std::endl; };
43
void react(Toggle const &) override { transit<On>(); };
44
};
45
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected