#include <timerservice.h>
Base type for timer services that can be added to TimerServiceHost instances.
◆ TimerService()
TimerService::TimerService |
( |
void |
| ) |
|
|
inline |
◆ isRunning()
bool TimerService::isRunning |
( |
void |
| ) |
const |
|
inline |
Returns whether timer is currently running.
- Returns
- True if timer is running, false otherwise.
◆ onTick()
virtual void TimerService::onTick |
( |
void |
| ) |
|
|
pure virtual |
◆ start()
void TimerService::start |
( |
void |
| ) |
|
|
inline |
Starts or continues the timer.
◆ stop()
void TimerService::stop |
( |
void |
| ) |
|
|
inline |
Stops the timer, keeping the current timeout value.