Features

Overview

hsmcpp library allows to use hierarchical state machine (HSM) in your project without worrying about the mechanism itself. Instead developers can focus on the structure and logic. The goal of this documentation is to explain how hsmcpp library can be used. So basics of HSM will not be covered. If you are are not familiar with state machines design pattern, you can familiarize yourself with HSM concept and terminology here:

Since Finite State Machines (FSM) are just a simple case of HSM, those could be also defined using hsmcpp.

Here is an example of a simple HSM which only contains states and transitions:

Simple HSM Example