Typedef hsmcpp::TimerHandlerFunc_t

Typedef Documentation

using hsmcpp::TimerHandlerFunc_t = std::function<bool(const TimerID_t)>

Timer 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.

Param timerID

id of the timer event

Retval true

handler’s callback can be used further

Retval false

handler’s callback is invalid and should not be reused