Timer manager interface.
More...
#include <ITimer.h>
|
typedef std::function< void()> | TimerCallback |
| Callback type invoked after elapsing of timer timeout.
|
|
virtual void AdblockPlus::ITimer::SetTimer |
( |
const std::chrono::milliseconds & |
timeout, |
|
|
const TimerCallback & |
timerCallback |
|
) |
| |
|
pure virtual |
Sets a timer.
- Parameters
-
timeout | A timer callback will be called after that interval. |
timeCallback | The callback which is called after timeout. |
The documentation for this struct was generated from the following file: