yuriykulikov / Abandoned-Event-driven_Framework_for_Embedded_Systems

Abandoned, C++ did not work out so well. See pure C implementation here - https://github.com/yuriykulikov/EventDrivenEmbeddedFramework
21 stars 6 forks source link

State machine #2

Open yuriykulikov opened 12 years ago

yuriykulikov commented 12 years ago

Implement a Handler-based state machine class.

yuriykulikov commented 12 years ago

A simple finite state machine, which extends Hanlder (or agregates), and is able to handle messages differently in different states. Plus enter and exit functions.