|
MPD
0.20.15
|
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... | |
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.
| EventPipe::EventPipe | ( | ) |
| EventPipe::~EventPipe | ( | ) |
|
delete |
|
inline |
Definition at line 40 of file EventPipe.hxx.
| void EventPipe::Write | ( | ) |
Wakes up the reader.
Multiple calls to this function will be combined to one wakeup.
1.8.14