Typedef hsmcpp::EnqueuedEventHandlerFunc_t
Defined in File IHsmEventDispatcher.hpp
Typedef Documentation
-
using hsmcpp::EnqueuedEventHandlerFunc_t = std::function<bool(const EventID_t)>
Handler callback for enqueued events.
When using class members, developers are responsible to track corresponding object’s lifetime. Clients can notify dispatcher that callback became invalid by returning FALSE.
- Param eventID
id of the event
- Retval true
handler’s callback can be used further
- Retval false
handler’s callback is invalid and should not be reused