All Projects → digint → Tinyfsm

digint / Tinyfsm

Licence: mit
A simple C++ finite state machine library

Programming Languages

cpp11
221 projects

Projects that are alternatives of or similar to Tinyfsm

esm
Lightweight communicating state machine framework for embedded systems
Stars: ✭ 21 (-95.35%)
Mutual labels:  state-machine
Gonorth
GoNorth is a story and content planning tool for RPGs and other open world games.
Stars: ✭ 289 (-36.06%)
Mutual labels:  state-machine
Machinery
State machine thin layer for structs (+ GUI for Phoenix apps)
Stars: ✭ 367 (-18.81%)
Mutual labels:  state-machine
zedux
⚡ A high-level, declarative, composable form of Redux https://bowheart.github.io/zedux/
Stars: ✭ 43 (-90.49%)
Mutual labels:  state-machine
Statemachine
A .net library that lets you build state machines (hierarchical, async with fluent definition syntax and reporting capabilities).
Stars: ✭ 270 (-40.27%)
Mutual labels:  state-machine
Redux Machine
A tiny library (12 lines) for creating state machines in Redux apps
Stars: ✭ 338 (-25.22%)
Mutual labels:  state-machine
cppfsm
A simple, generic, header-only state machine implementation for C++.
Stars: ✭ 47 (-89.6%)
Mutual labels:  state-machine
Dev Blog
翻译、开发心得或学习笔记
Stars: ✭ 3,929 (+769.25%)
Mutual labels:  state-machine
Swiftrex
Swift + Redux + (Combine|RxSwift|ReactiveSwift) -> SwiftRex
Stars: ✭ 267 (-40.93%)
Mutual labels:  state-machine
Transitions
A lightweight, object-oriented finite state machine implementation in Python with many extensions
Stars: ✭ 4,082 (+803.1%)
Mutual labels:  state-machine
use-tiny-state-machine
A tiny (~700 bytes) react hook to help you write finite state machines
Stars: ✭ 37 (-91.81%)
Mutual labels:  state-machine
Statecharts.github.io
There is no state but what we make. Feel free to pitch in.
Stars: ✭ 265 (-41.37%)
Mutual labels:  state-machine
Pvm
Build workflows, activities, BPMN like processes, or state machines with PVM.
Stars: ✭ 348 (-23.01%)
Mutual labels:  state-machine
nodify
High performance and modular controls for node-based editors designed for data-binding and MVVM.
Stars: ✭ 282 (-37.61%)
Mutual labels:  state-machine
Qpc
QP/C real-time embedded framework/RTOS for embedded systems based on active objects (actors) and hierarchical state machines
Stars: ✭ 379 (-16.15%)
Mutual labels:  state-machine
YokosukaJS
A functional programming-style beat-em-up game engine written in javascript
Stars: ✭ 18 (-96.02%)
Mutual labels:  state-machine
Beedle
A tiny library inspired by Redux & Vuex to help you manage state in your JavaScript apps
Stars: ✭ 329 (-27.21%)
Mutual labels:  state-machine
Fsm As Promised
A finite state machine library using ES6 promises
Stars: ✭ 446 (-1.33%)
Mutual labels:  state-machine
React
🔼 UI-Router for React
Stars: ✭ 386 (-14.6%)
Mutual labels:  state-machine
Harvest
🌾 Harvest: Apple's Combine.framework + State Machine, inspired by Elm.
Stars: ✭ 352 (-22.12%)
Mutual labels:  state-machine

TinyFSM

TinyFSM is a simple finite state machine library for C++, designed for optimal performance and low memory footprint. This makes it ideal for real-time operating systems. The concept is very simple, allowing the programmer to fully understand what is happening behind the scenes. It provides a straightforward way of mapping your state machine charts into source code.

TinyFSM basically wraps event dispatching into function calls, making event dispatching equally fast to calling (or even inlining) a function. Even in the worst case, dispatching leads to nothing more than a single vtable lookup and function call!

Key Features:

  • Entry/exit actions
  • Event actions
  • Transition functions
  • Transition conditions
  • Event payload (classes)
  • Inheritance of states and action functions

TinyFSM benefits from the C++11 template metaprogramming features like variadic templates, and does not depend on RTTI, exceptions or any external library.

Official home page: https://digint.ch/tinyfsm

Current version: 0.3.2

Documentation

You can find the main documentation in the doc/ directory of the TinyFSM project. The latest version is also available online.

Installation

TinyFSM is a header-only library, no special installation steps are needed. Just point your compiler to the "include" directory.

Donate

So TinyFSM has proven useful for you?

I will definitively continue developing TinyFSM for free, but if you want to support me you can do so:

Donate

Development

The source code for TinyFSM is managed using Git:

git clone https://dev.tty0.ch/tinyfsm.git

Mirror on GitHub:

git clone https://github.com/digint/tinyfsm.git

If you would like to contribute or have found bugs, visit the TinyFSM project page on GitHub and use the issues tracker there.

Contact

For questions and suggestions regarding TinyFSM, success or failure stories, and any other kind of feedback, please feel free to contact the author (the email address can be found in the sources).

License

TinyFSM is Open Source software. It may be used for any purpose, including commercial purposes, at absolutely no cost. It is distributed under the terms of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].