All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | List of all members
AdblockPlus::ITimer Struct Referenceabstract

Timer manager interface. More...

#include <ITimer.h>

Public Types

typedef std::function< void()> TimerCallback
 Callback type invoked after elapsing of timer timeout.

Public Member Functions

virtual void SetTimer (const std::chrono::milliseconds &timeout, const TimerCallback &timerCallback)=0
 Sets a timer. More...

Detailed Description

Timer manager interface.

Member Function Documentation

virtual void AdblockPlus::ITimer::SetTimer ( const std::chrono::milliseconds &  timeout,
const TimerCallback timerCallback 
pure virtual

Sets a timer.

timeoutA timer callback will be called after that interval.
timeCallbackThe callback which is called after timeout.

The documentation for this struct was generated from the following file: