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