Typedef hsmcpp::HsmStateEnterCallback_t

Typedef Documentation

using hsmcpp::HsmStateEnterCallback_t = std::function<bool(const VariantVector_t&)>

Function type for HierarchicalStateMachine state entering callbacks.

Param VariantVector_t

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

Return

Callback should return TRUE to allow current transition. Returning FALSE will cause ongoing transition to be canceled.