MPD: DeferredCall Class Reference

MPD 0.20.15

Public Member Functions | Protected Member Functions
DeferredCall Class Referencefinal

Invoke a method call in the EventLoop. More...

`#include <DeferredCall.hxx>`

Inheritance diagram for DeferredCall:
[legend]
Collaboration diagram for DeferredCall:
[legend]

## Public Member Functions
| DeferredCall (EventLoop &_loop, Callback _callback)
EventLoop & | GetEventLoop ()
void | Schedule ()
void | Cancel ()

## Protected Member Functions
void | RunDeferred () override

## Detailed Description

Invoke a method call in the EventLoop.

This class is thread-safe.

Definition at line 32 of file DeferredCall.hxx.

## Constructor & Destructor Documentation

## ◆ DeferredCall()

DeferredCall::DeferredCall | ( | EventLoop & | _loop,
|  | Callback | _callback
| ) |  |
| inline

Definition at line 37 of file DeferredCall.hxx.

## Member Function Documentation

## ◆ Cancel()

void DeferredMonitor::Cancel

## ◆ GetEventLoop()

EventLoop& DeferredMonitor::GetEventLoop
| inline

Definition at line 46 of file DeferredMonitor.hxx.

## ◆ RunDeferred()

void DeferredCall::RunDeferred | ( |  | ) |
| inlineoverrideprotectedvirtual

Implements DeferredMonitor.

Definition at line 45 of file DeferredCall.hxx.

## ◆ Schedule()

void DeferredMonitor::Schedule

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

- event/DeferredCall.hxx