Skip to content

Basic Transitions

Andrew Gresyk edited this page Apr 1, 2022 · 2 revisions

Transitions

  1. Transition methods are available on:

    • FSM instance: Root and PeerRoot
    • Controls: FullControl and GuardControl
  2. Transition destinations arguments can be either state type or StateID

    void Root::changeTo<TState>();
    void Root::changeTo(StateID);
  3. Transitions can have payloads

Tests

Method Description
void Root::changeTo<TState>();
void Root::changeTo(StateID);
Default transition
Method Description
void FullControl::changeTo<TState>();
void FullControl::changeTo(StateID);
Default transition