MPD: EventPipe Class Reference

MPD 0.20.18

Public Member Functions
EventPipe Class Reference

A pipe that can be used to trigger an event to the read side. More...

`#include <EventPipe.hxx>`

## Public Member Functions
| EventPipe ()
| ~EventPipe ()
| EventPipe (const EventPipe &other)=delete
EventPipe & | operator= (const EventPipe &other)=delete
int | Get () const
bool | Read ()
| Checks if Write() was called at least once since the last Read() call. More...
void | Write ()
| Wakes up the reader. More...

## Detailed Description

A pipe that can be used to trigger an event to the read side.

Errors in the constructor are fatal.

Definition at line 30 of file EventPipe.hxx.

## Constructor & Destructor Documentation

## ◆ EventPipe() [1/2]

EventPipe::EventPipe | ( |  | ) |

## ◆ ~EventPipe()

EventPipe::~EventPipe | ( |  | ) |

## ◆ EventPipe() [2/2]

EventPipe::EventPipe | ( | const EventPipe & | other | ) |
| delete

## Member Function Documentation

## ◆ Get()

int EventPipe::Get | ( |  | ) | const
| inline

Definition at line 40 of file EventPipe.hxx.

## ◆ operator=()

EventPipe& EventPipe::operator= | ( | const EventPipe & | other | ) |
| delete

## ◆ Read()

bool EventPipe::Read | ( |  | ) |

Checks if Write() was called at least once since the last Read() call.

## ◆ Write()

void EventPipe::Write | ( |  | ) |

Wakes up the reader.

Multiple calls to this function will be combined to one wakeup.

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

- system/EventPipe.hxx