cheshirekow  v0.1.0
nix::Epoll Class Reference

#include <cpp_nix/epoll.h>

Public Member Functions

int Add (int fd, epoll_event *event)
 
int Delete (int fd)
 
 Epoll ()
 
 Epoll (epoll::Flags flags)
 
int GetFd ()
 
int Modify (int fd, epoll_event *event)
 
int Pwait (epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask)
 
int Wait (struct epoll_event *events, int maxevents, int timeout)
 
 ~Epoll ()
 

Private Attributes

int m_epfd
 

Detailed Description

Definition at line 49 of file epoll.h.

Constructor & Destructor Documentation

nix::Epoll::Epoll ( )
inline

Definition at line 51 of file epoll.h.

nix::Epoll::Epoll ( epoll::Flags  flags)
inline

Definition at line 55 of file epoll.h.

nix::Epoll::~Epoll ( )
inline

Definition at line 59 of file epoll.h.

Member Function Documentation

int nix::Epoll::Add ( int  fd,
epoll_event *  event 
)
inline

Definition at line 69 of file epoll.h.

int nix::Epoll::Delete ( int  fd)
inline

Definition at line 77 of file epoll.h.

int nix::Epoll::GetFd ( )
inline

Definition at line 65 of file epoll.h.

int nix::Epoll::Modify ( int  fd,
epoll_event *  event 
)
inline

Definition at line 73 of file epoll.h.

int nix::Epoll::Pwait ( epoll_event *  events,
int  maxevents,
int  timeout,
const sigset_t *  sigmask 
)
inline

Definition at line 85 of file epoll.h.

int nix::Epoll::Wait ( struct epoll_event *  events,
int  maxevents,
int  timeout 
)
inline

Definition at line 81 of file epoll.h.

Member Data Documentation

int nix::Epoll::m_epfd
private

Definition at line 91 of file epoll.h.


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