61 std::shared_ptr<TimerImpl> impl;
void stop()
Stop the timer.
bool is_repeating() const
Returns true if the timer repeats until it is stopped.
void start(unsigned int timeout, bool repeat=true)
Starts the timer. Timeout in milliseconds.
unsigned int get_timeout() const
Returns the current timeout. In milliseconds.
Timer()
Creates a timer object.
std::function< void()> & func_expired()
Callback invoked every time the timer interval occurs.
@ repeat
Definition texture.h:67