MPD 0.20.6

- Main Page
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions | Static Public Attributes
PollGroupEPoll Class Reference

`#include <PollGroupEPoll.hxx>`

## Public Member Functions
| PollGroupEPoll ()=default
void | ReadEvents (PollResultEPoll &result, int timeout_ms)
bool | Add (int fd, unsigned events, void *obj)
bool | Modify (int fd, unsigned events, void *obj)
bool | Remove (int fd)
bool | Abandon (gcc_unused int fd)

## Static Public Attributes
static constexpr unsigned | READ = EPOLLIN
static constexpr unsigned | WRITE = EPOLLOUT
static constexpr unsigned | ERROR = EPOLLERR
static constexpr unsigned | HANGUP = EPOLLHUP

## Detailed Description

Definition at line 52 of file PollGroupEPoll.hxx.

## Constructor & Destructor Documentation

PollGroupEPoll::PollGroupEPoll | ( |  | ) |
| default

## Member Function Documentation

bool PollGroupEPoll::Abandon | ( | gcc_unused int | fd | ) |
| inline

Definition at line 84 of file PollGroupEPoll.hxx.

bool PollGroupEPoll::Add | ( | int | fd,
|  | unsigned | events,
|  | void * | obj
| ) |  |
| inline

Definition at line 72 of file PollGroupEPoll.hxx.

bool PollGroupEPoll::Modify | ( | int | fd,
|  | unsigned | events,
|  | void * | obj
| ) |  |
| inline

Definition at line 76 of file PollGroupEPoll.hxx.

void PollGroupEPoll::ReadEvents | ( | PollResultEPoll & | result,
|  | int | timeout_ms
| ) |  |
| inline

Definition at line 66 of file PollGroupEPoll.hxx.

bool PollGroupEPoll::Remove | ( | int | fd | ) |
| inline

Definition at line 80 of file PollGroupEPoll.hxx.

## Field Documentation

constexpr unsigned PollGroupEPoll::ERROR = EPOLLERR
| static

Definition at line 61 of file PollGroupEPoll.hxx.

constexpr unsigned PollGroupEPoll::HANGUP = EPOLLHUP
| static

Definition at line 62 of file PollGroupEPoll.hxx.

constexpr unsigned PollGroupEPoll::READ = EPOLLIN
| static

Definition at line 59 of file PollGroupEPoll.hxx.

constexpr unsigned PollGroupEPoll::WRITE = EPOLLOUT
| static

Definition at line 60 of file PollGroupEPoll.hxx.

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

- event/PollGroupEPoll.hxx