tinyfsm
tinyfsm copied to clipboard
A simple C++ finite state machine library
Is it possible to change the initial_state at runtime? I am storing the the states of my machine in the database and at restart, I would like to start from...
Since declare `typedef F const * state_ptr_const_t;` in class Fsm, we cannot get more than one instance for a specific Fsm. Is there any way to avoid this?
TinyFSM v.0.3.2 can't be compiled using IAR ARM compiler (V8.20.2):  The compiler seems to think that the derived state classes are unreleated to the base class. Using GCC the...
It's been quite some time since I've developed cpp but I'm stuck on trying to separate out the state classes from the State Machine Class's cpp file. No matter how...
Hi, I like you take on a simple state machine. When building with -Wnon-virtual-dtor you got some warning. I would add ` virtual ~MooreMachine() noexcept = default;` to the MooreMachine...
Hi. I have created two state diagrams for the readme file. They are graphical png files though if you actually prefer ascii-art, it is possible to generate at .
This version is not fully compatible with the 0.3.2 version. The major difference is that when transit is used, the compiler must be able to see the full declaration of...
Might be a dumb question. But my understanding is that the `react` method of each state is used to update the current state. Is there some way of including an...
This makes it a bit simpler to include in projects using Cmake. I've tested installation and project builds on macOS and Ubuntu 18.04.
I'm, not too savvy with C++ templates and would like some help with this topic. I would like to print a stribg for example with the state of my SM.