November 2011
Intermediate to advanced
640 pages
19h 41m
English
Just as state machines can have regions, so can states; such states are called composite or hierarchical states. These allow state machines to scale to represent arbitrarily complex state-based behaviors. This section discusses composite states with single and multiple regions, and also the reuse of an existing state machine to describe the behavior of a state.
Arguably the most common situation is a composite state that has a single region. A state nested within a region can only be active when the state enclosing the region is active. Thus, the switch position analogy described in Section 11.3.2 can apply to nested states by requiring that the switch position corresponding ...
Read now
Unlock full access