submachine state

A state that references a submachine (another state machine), a copy of which is implicitly part of the enclosing state machine in place of the submachine reference state. It is conceptually like a “call” on a state machine “subroutine” (but may be implemented differently). It may contain references to entry points and exit points, which identify states in the submachine.

See also state, state machine, entry point, exit point.

Semantics

A submachine state is semantically equivalent to inserting a copy of the submachine in place of the reference state. The submachine state itself has no substructure; all of the semantic structure comes from the referenced state machine.

Notation

A submachine state is drawn as a state symbol with ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.