vdr
2.0.7
|
#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 |
cPoller::cPoller | ( | int | FileHandle = -1 , |
bool | Out = false |
||
) |
Definition at line 1349 of file tools.c.
References Add(), and numFileHandles.
bool cPoller::Add | ( | int | FileHandle, |
bool | Out | ||
) |
Definition at line 1355 of file tools.c.
References esyslog, MaxPollFiles, numFileHandles, and pfd.
Referenced by cPoller(), cDvbSdFfDevice::Poll(), and cDvbHdFfDevice::Poll().
bool cPoller::Poll | ( | int | TimeoutMs = 0 | ) |
Definition at line 1374 of file tools.c.
References numFileHandles, and pfd.
Referenced by cTSBuffer::Action(), cDvbTuner::ClearEventQueue(), cDvbSdFfDevice::Poll(), cDvbHdFfDevice::Poll(), cKbdRemote::ReadKey(), and WriteAllOrNothing().
|
private |
|
private |