40 return timer_.
cancel(eventId);
51 if(interval == Duration::zero())
bool cancelTimedEvent(TimerEventId eventId)
cancel a timed event
TimerServiceUser interface.
TimerId schedule(Function fn, const TimePoint &absoluteTimePoint)
virtual void processTimedEvent(TimerEventId eventId, const TimePoint &expireTime, const TimePoint &scheduleTime, const TimePoint &fireTime, const void *arg)
TimerId scheduleInterval(Function fn, const TimePoint &absoluteTimePoint, const Duration &interval)
TimerEventId scheduleTimedEvent(const TimePoint &timePoint, const void *arg, const Duration &interval, TimerServiceUser *pTimerServiceUser)
schedule a timed event.
Clock::time_point TimePoint
bool cancel(TimerId timerId)