Skip to content

Transitions

Andrew Gresyk edited this page Apr 12, 2024 · 2 revisions
  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