Class Timer

Class Documentation

class Timer

Public Types

typedef std::function<void(void)> Delegate

Public Functions

Timer()
virtual ~Timer()
void Start(size_t interval, Delegate callback)
void Cancel()

Protected Attributes

concurrent::Semaphore mSemaphore
std::thread mTimerThread