Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dziegel committed Aug 5, 2023
1 parent f36ba49 commit 7f6931a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The tool generates the statemachine, state declarations and state handlers. Choi
- Entry/Exit actions. Same as for handlers - the signature allows to use class member functions
as action. Also, the argument "state" allows to use the same action function for multiple states.

void (Fsm::ImplPtr)(Fsm::StatePtr state)
void (Fsm::ImplPtr)(Fsm::StateRef state)

- Transition actions. The signature allows to use class member functions as actions.
The argument "event" may be useful in actions because the action may depend on the event type or attributes
Expand Down

0 comments on commit 7f6931a

Please sign in to comment.