active

A state that has been entered and has not yet been exited; one that is held by an object.

See also active class, active object.

Semantics

A state becomes active when a transition entering it fires. An active state ceases to be active when a transition leaving it fires. If an object is active, then at least one state is active. (In the degenerate case, a class may have only a single state. In that case, the response to an event is always the same.) If a state is active within the state machine for an object's class, the object is said to hold the state.

An object may hold multiple states at one time. The set of active states is called the active state configuration. If a nested state is active, then all states that contain it are active. ...

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.