Fork me on GitHub

sttcl by makulik

State machine template class framework for C++

The STTCL C++ template class framework provides base class definitions for UML 2.2 state diagram notation elements. The general approach of the framework follows the GoF state pattern.


The dependencies are mostly configurable using template parameters or build (OS) environment specific configuration defines.
The builtin configurations include:


Currently there's only the source code. You need to setup a makefile or project to build a STTCL library file using your OS dependency options.


There is a concept paper for STTCL that describes the framework design and usage available as PDF document.

The doxygen generated API reference is available online or as downloadable .zip file for offline browsing.


The STTCL source files are releaased under terms and conditions of the BSD 3 (new) license.


makulik (




You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://