35 #ifndef EMANETIMERSERVICE_HEADER_ 36 #define EMANETIMERSERVICE_HEADER_ 87 template <
typename Function>
90 const Duration & interval = Duration::zero());
105 #endif //EMANETIMERSERVICE_HEADER_
A timer class that uses Linux interval timers.
Ensure a class only has one instance, and provide a global point of access to it. ...
bool cancelTimedEvent(TimerEventId eventId)
cancel a timed event
TimerServiceUser interface.
TimerEventId scheduleTimedEvent(const TimePoint &timePoint, const void *arg, const Duration &interval, TimerServiceUser *pTimerServiceUser)
schedule a timed event.
TimerEventId schedule(Function fn, const TimePoint &timePoint, const Duration &interval=Duration::zero())
Clock::time_point TimePoint