Typedef hsmcpp::HsmTransitionFailedCallback_t

Typedef Documentation

using hsmcpp::HsmTransitionFailedCallback_t = std::function<void(const std::list<StateID_t>&, const EventID_t, const VariantVector_t&)>

Function type for HierarchicalStateMachine failed transition callbacks. Callback is called whenever HSM failed to process new event (due to no registered transition, failed conditions or transition being canceled by a enter/exit callback).

Param std::list<StateID_t>

list of active states which didn’t have a matching transition

Param EventID_t

id of the event which was not processed

Param VariantVector_t

args value provided in HierarchicalStateMachine::transition() or similar API