Sayonara Player
Loading...
Searching...
No Matches
Utils::Timer Class Reference

Public Types

using Callback = std::function<bool()>
 

Public Member Functions

 Timer (const Timer &other)=delete
 
 Timer (Timer &&other)=delete
 
Timeroperator= (const Timer &other)=delete
 
Timeroperator= (Timer &&other)=delete
 
void start (std::chrono::milliseconds interval, const int iterations, Callback &&callback)
 
void stop ()
 
bool isActive () const