Basic state chart elements

A state chart consists of five main elements:

      States: Define behavior and may produce actions

      Transitions: Movement from one state to another

      Pseudostates: Connect transitions to more complex state transition paths

      Behaviors: Associated with transitions and state actions

      Triggers: Externally or internally generated

 State behavior and transitions are specified as C expressions. If you are unfamiliar C, we recommend C: A Software Engineering Approach.