Skip to content

chfanghr/kerfuffle

Repository files navigation

Kerfuffle: High-Performance Hierarchical FSM

Windows Linux

Header-only hierarchical FSM framework in C++11, with fully statically-defined structure (no dynamic allocations), built with variadic templates.

Features

  • Written in widely-supported modern(ish) C++11
  • Header-only
  • Convenient, minimal boilerplate
  • Fully static, no dynamic allocations
  • Uses inline-friendly compile-time pylymorphism, no virtual methods were harmed
  • Type-safe transitions
  • Hierarchical, with a selection of composite(sub-machine) and orthogonal regions
  • Gamedev-friendly, supports explicit State::update()
  • Also supports traditional event-based workflow with State::react()
  • Scalable, supports robust state re-use via state injections
  • Built-in logging support
  • Built-in serialization support, with activity and transition history support
  • Permissive MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages