MPD
0.20.15
|
A class that wraps Linux epoll. More...
#include <EPollFD.hxx>
Public Member Functions | |
EPollFD () | |
~EPollFD () | |
EPollFD (const EPollFD &other)=delete | |
EPollFD & | operator= (const EPollFD &other)=delete |
int | Wait (epoll_event *events, int maxevents, int timeout) |
bool | Control (int op, int _fd, epoll_event *event) |
bool | Add (int _fd, uint32_t events, void *ptr) |
bool | Modify (int _fd, uint32_t events, void *ptr) |
bool | Remove (int _fd) |
A class that wraps Linux epoll.
Errors in the constructor are fatal.
Definition at line 37 of file EPollFD.hxx.
EPollFD::EPollFD | ( | ) |
|
inline |
Definition at line 43 of file EPollFD.hxx.
|
delete |
|
inline |
Definition at line 60 of file EPollFD.hxx.
|
inline |
Definition at line 56 of file EPollFD.hxx.
|
inline |
Definition at line 68 of file EPollFD.hxx.
|
inline |
Definition at line 76 of file EPollFD.hxx.
|
inline |
Definition at line 52 of file EPollFD.hxx.