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 182 of file tools.h.

Member Enumeration Documentation

anonymous enum [private]


Definition at line 184 of file tools.h.

Constructor & Destructor Documentation

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

Definition at line 840 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 846 of file tools.c.

References esyslog, MaxPollFiles, numFileHandles, and pfd.

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

bool cPoller::Poll ( int  TimeoutMs = 0  ) 

Definition at line 865 of file tools.c.

References numFileHandles, and pfd.

Referenced by cTSBuffer::Action(), cDvbTuner::GetFrontendStatus(), cDvbDevice::Poll(), cKbdRemote::ReadKey(), and WriteAllOrNothing().

Member Data Documentation

pollfd cPoller::pfd[MaxPollFiles] [private]

Definition at line 185 of file tools.h.

Referenced by Add(), and Poll().

int cPoller::numFileHandles [private]

Definition at line 186 of file tools.h.

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

The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:22:26 2007 for VDR by  doxygen 1.5.3-20071008