MPD: DeferredMonitor Class Reference

MPD 0.20.18

Public Member Functions | Protected Member Functions | Friends
DeferredMonitor Class Referenceabstract

Defer execution of an event into an EventLoop. More...

`#include <DeferredMonitor.hxx>`

Inheritance diagram for DeferredMonitor:
[legend]

## Public Member Functions
| DeferredMonitor (EventLoop &_loop)
| ~DeferredMonitor ()
EventLoop & | GetEventLoop ()
void | Schedule ()
void | Cancel ()

## Protected Member Functions
virtual void | RunDeferred ()=0

## Friends
class | EventLoop

## Detailed Description

Defer execution of an event into an EventLoop.

This class is thread-safe.

Definition at line 32 of file DeferredMonitor.hxx.

## Constructor & Destructor Documentation

## ◆ DeferredMonitor()

DeferredMonitor::DeferredMonitor | ( | EventLoop & | _loop | ) |
| inline

Definition at line 39 of file DeferredMonitor.hxx.

## ◆ ~DeferredMonitor()

DeferredMonitor::~DeferredMonitor | ( |  | ) |
| inline

Definition at line 42 of file DeferredMonitor.hxx.

## Member Function Documentation

## ◆ Cancel()

void DeferredMonitor::Cancel | ( |  | ) |

## ◆ GetEventLoop()

EventLoop& DeferredMonitor::GetEventLoop | ( |  | ) |
| inline

Definition at line 46 of file DeferredMonitor.hxx.

## ◆ RunDeferred()

virtual void DeferredMonitor::RunDeferred | ( |  | ) |
| protectedpure virtual

Implemented in MaskMonitor, and DeferredCall.

## ◆ Schedule()

void DeferredMonitor::Schedule | ( |  | ) |

## Friends And Related Function Documentation

## ◆ EventLoop

friend class EventLoop
| friend

Definition at line 35 of file DeferredMonitor.hxx.

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

- event/DeferredMonitor.hxx