90 void startTimer (
int intervalInMilliseconds)
noexcept;
95 void startTimerHz (
int timerFrequencyHz)
noexcept;
107 void stopTimer() noexcept;
111 bool isTimerRunning() const noexcept {
return timerPeriodMs > 0; }
130 size_t positionInQueue = (
size_t) -1;
131 int timerPeriodMs = 0;
A smart-pointer that automatically creates and manages the lifetime of a shared static instance of a ...
Makes repeated callbacks to a virtual method at a specified time interval.
int getTimerInterval() const noexcept
Returns the timer's interval.
virtual void timerCallback()=0
The user-defined callback routine that actually gets called periodically.