tkem / fsmlite

Lightweight finite state machine framework for C++11
MIT License
156 stars 25 forks source link

Add "queuing" FSM #7

Open tkem opened 8 years ago

tkem commented 8 years ago

As stated in #5, process_event() must not be called recursively. Since this is a common pattern, especially with multiple FSMs passing events to each other, a "queuing" FSM type should be added.

tkem commented 8 years ago

Things to consider:

tkem commented 6 years ago

Type of queue container should be an additional template argument. No default should be provided for compatibility with freestanding implementations.

tkem commented 6 years ago

Investigate whether this could be an additional processing_lock template parameter; then we'd have something like