tinverse / tsm

A Typed Hierarchical State Machine Framework in C++
https://tinverse.github.io/tsm/index.html
MIT License
41 stars 7 forks source link

Make action and guard template parameters #12

Closed dibsonmuad closed 2 years ago

dibsonmuad commented 2 years ago

The StateTransitionTableT struct is now parameterized on the FsmDef, action and guard functions. The user can provide custom types for these functions. However, they apply to all transitions in the state transition table.