vdr  2.2.0
Public Member Functions | Private Types | Private Attributes | List of all members
cPoller Class Reference

#include <tools.h>

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

Member Enumeration Documentation

anonymous enum
private
Enumerator
MaxPollFiles 

Definition at line 359 of file tools.h.

Constructor & Destructor Documentation

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

Definition at line 1418 of file tools.c.

Member Function Documentation

bool cPoller::Add ( int  FileHandle,
bool  Out 
)

Definition at line 1424 of file tools.c.

References esyslog.

Referenced by cDvbSdFfDevice::Poll(), and cDvbHdFfDevice::Poll().

bool cPoller::Poll ( int  TimeoutMs = 0)

Member Data Documentation

int cPoller::numFileHandles
private

Definition at line 361 of file tools.h.

pollfd cPoller::pfd[MaxPollFiles]
private

Definition at line 360 of file tools.h.


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