| 58 | : FSM::State |
| 59 | { |
| 60 | void entryGuard(FullControl& control) { // called before state activation, use to re-route transitions |
| 61 | if (control.context().powerOn) // access shared data |
| 62 | control.changeTo<On>(); // initiate a transition into 'On' region |
| 63 | } |
| 64 | |
| 65 | void exit(PlanControl& /*control*/) {} // called on state deactivation |
| 66 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected