Events
Overview
Events are defined using hsmcpp::EventID_t type. Recommended way is to put definitions into a namespace:
namespace MyEvents {
constexpr hsmcpp::EventID_t EVENT_1 = 0;
constexpr hsmcpp::EventID_t EVENT_2 = 1;
constexpr hsmcpp::EventID_t EVENT_3 = 2;
constexpr hsmcpp::EventID_t EVENT_4 = 3;
}
They could be later used when registering transitions.