C++ inline state machine library

Add a Review
2 Downloads (This Week)
Last Update:
  Browse Code Git Repository


instantFSM is a header-only C++ state machine library. Its goal is to make state machine declaration and use easy enough that it can be integrated into your projects painlessly.

Have a look atp the wiki where you will find a tutorial, samples, and a cheatsheet to get accustomed with instantFSM. The only instantFSM header file is downloadable from the files section or you can check it out from the git repository.

instantFSM Web Site


Object Oriented, UML, Libraries


MIT License


  • UML Finite State Machine : nested states, parallel states, on entry, on exit and on transition execution, targetless transitions
  • easy to use : no inheritance, class declaration, template specialization or external tool
  • header only : easily integrated into your projects
  • C++11 support : designed to be used with lambdas

Update Notifications

Write a Review

User Reviews

Be the first to post a review of instantFSM!

Additional Project Details

Intended Audience


Programming Language



Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.