Skip to content

Advanced Transition History

Andrew Gresyk edited this page Apr 2, 2022 · 2 revisions

Transition History

  1. This API can be used for implementing iterative replication.

Tests

  1. Enable transition history support:

    #define HFSM2_ENABLE_TRANSITION_HISTORY
    #include <hfsm2/machine.hpp>
Method Description
const Transition& previousTransition() const Access state data
bool replayTransition(const StateID); Access state data