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 STTCL source files are releaased under terms and conditions of the BSD 3 (new) license.
You can also clone the project with Git by running:
$ git clone git://github.com/makulik/sttcl