std::function< void()> type_callback
void setInterval(int32_t msec)
Set the interval in milliseconds.
void start()
Start the timer.
Interface for events to be registered with TimeManager.
void stop()
Stop the timer.
Timer()
Default constructor.
virtual ~Timer()
Destructor.
void setCallback(const type_callback &callback)
Set the callback that will be called.
void updateEvent(uint32_t)
Update function to be overridden by client.