The abstract base class TimerHandler contains the following public member functions:
The abstract base class TimerHandler contains the following protected members:
The pure virtual functions must be defined by the timer classes deriving from this abstract base class.
Finally, two private inline functions are defined:
inline void _sched(double delay) { (void)Scheduler::instance().schedule(this, &event_, delay); } inline void _cancel() { (void)Scheduler::instance().cancel(&event_); }
From this code we can see that timers make use of methods of the Scheduler class.