cPoller Class Reference

#include <tools.h>

List of all members.

Public Member Functions

 cPoller (int FileHandle=-1, bool Out=false)
bool Add (int FileHandle, bool Out)
bool Poll (int TimeoutMs=0)

Private Types

enum  { MaxPollFiles = 16 }

Private Attributes

pollfd pfd [MaxPollFiles]
int numFileHandles

Detailed Description

Definition at line 272 of file tools.h.

Member Enumeration Documentation

anonymous enum [private]


Definition at line 274 of file tools.h.

Constructor & Destructor Documentation

cPoller::cPoller ( int  FileHandle = -1,
bool  Out = false 

Definition at line 1167 of file tools.c.

References Add(), and numFileHandles.

Here is the call graph for this function:

Member Function Documentation

bool cPoller::Add ( int  FileHandle,
bool  Out 

Definition at line 1173 of file tools.c.

References esyslog, MaxPollFiles, numFileHandles, and pfd.

Referenced by cPoller(), and cDvbDevice::Poll().

bool cPoller::Poll ( int  TimeoutMs = 0  ) 

Member Data Documentation

pollfd cPoller::pfd[MaxPollFiles] [private]

Definition at line 275 of file tools.h.

Referenced by Add(), and Poll().

int cPoller::numFileHandles [private]

Definition at line 276 of file tools.h.

Referenced by Add(), cPoller(), and Poll().

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

Generated on Tue Jan 13 14:31:17 2009 for VDR by  doxygen 1.5.6