Typedef hsmcpp::EventHandlerFunc_t

Typedef Documentation

using hsmcpp::EventHandlerFunc_t = std::function<bool(void)>

Event handler callback.

When using class members, developers are responsible to track corresponding object’s lifetime. Clients can notify dispatcher that callback became invalid by returning FALSE.

Retval true

handler’s callback can be used further

Retval false

handler’s callback is invalid and should not be reused