| 40 | { |
| 41 | void entry() override { counter++; std::cout << "* Switch is ON, counter=" << counter << std::endl; }; |
| 42 | void react(Toggle const &) override { transit<Off>(); }; |
| 43 | int counter; |
| 44 | |
| 45 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected