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