StateMachineCreateObj Example for a C++ state machine which uses objects for states and which supports state history