Implementation of a State Diagram in C++
The Master Monitor uses switch statements to call appropriate methods.
Current state
Transitions
Methods may execute one or more actions associated with the transition and update the current state.
Previous slide
Next slide
Back to first slide
View graphic version