Skip to content

zgggy/autofsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto_finite_state_machine

under progress...

Usage

  1. add autofsm.h to your project, then just #include it.
  2. init the machine:
    1. use class YourObj,State<YourObj> and all the func_reg()s to init the machine.
    2. use class YourObj,Machine<YourObj>(states, transitions) and all the func_reg()s to init the machine.
    3. use macro fsm::make_machine() to init the machine fastest.
  3. machine.process() in while(true).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published