We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fsm
struct State { State(void (*on_enter)(), void (*on_state)(), void (*on_exit)()); void (*on_enter)(); void (*on_state)(); void (*on_exit)(); };
this makes fsm non-composable with objects, lambdas, etc.
please add support for call back objects instead:
struct State { virtual void on_enter() = 0; virtual void on_state() = 0; virtual void on_exit() = 0; };
struct Transition { State* state_from; State* state_to; int event; void (*on_transition)(); };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
fsm
can work only with free call back functions:this makes
fsm
non-composable with objects, lambdas, etc.please add support for call back objects instead:
The text was updated successfully, but these errors were encountered: