Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dziegel authored Aug 29, 2024
1 parent 6a29832 commit 3aa6fbb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,15 @@ Example:

void (Fsm::ImplPtr)(Fsm::Event event)

### Execution order

The order of execution of guards/actions/entry/exit are as follows:

- Evaluation of all necessary guards to select a transition
- Exit actions from source state up to least common ancestor parent state
- Transition actions
- Entry actions from least common ancestor parent state to target state

### Logging

fsm_.on_state_change_ = [](Fsm::Ref fsm, Fsm::Event event, Fsm::StateRef old_state, Fsm::StateRef new_state)
Expand Down

0 comments on commit 3aa6fbb

Please sign in to comment.