| 26 | { |
| 27 | void entry() override { std::cout << "* Closing ciruit (light goes ON)" << std::endl; }; |
| 28 | void react(Toggle const &) override { transit<Off>(); }; |
| 29 | }; |
| 30 | |
| 31 | struct Off : Switch |
nothing calls this directly
no outgoing calls
no test coverage detected