vdr
1.7.27
|
#include <tools.h>
Public Member Functions | |
cPoller (int FileHandle=-1, bool Out=false) | |
bool | Add (int FileHandle, bool Out) |
bool | Poll (int TimeoutMs=0) |
cPoller (int FileHandle=-1, bool Out=false) | |
bool | Add (int FileHandle, bool Out) |
bool | Poll (int TimeoutMs=0) |
Private Types | |
enum | { MaxPollFiles = 16 } |
enum | { MaxPollFiles = 16 } |
Private Attributes | |
pollfd | pfd [MaxPollFiles] |
int | numFileHandles |
Definition at line 318 of file include/vdr/tools.h.
anonymous enum [private] |
Definition at line 320 of file include/vdr/tools.h.
cPoller::cPoller | ( | int | FileHandle = -1 , |
bool | Out = false |
||
) |
Definition at line 1277 of file tools.c.
References Add(), and numFileHandles.
cPoller::cPoller | ( | int | FileHandle = -1 , |
bool | Out = false |
||
) |
bool cPoller::Add | ( | int | FileHandle, |
bool | Out | ||
) |
Definition at line 1283 of file tools.c.
References esyslog, MaxPollFiles, numFileHandles, and pfd.
Referenced by cPoller(), cDvbSdFfDevice::Poll(), and cDvbHdFfDevice::Poll().
bool cPoller::Add | ( | int | FileHandle, |
bool | Out | ||
) |
bool cPoller::Poll | ( | int | TimeoutMs = 0 | ) |
bool cPoller::Poll | ( | int | TimeoutMs = 0 | ) |
Definition at line 1302 of file tools.c.
References numFileHandles, and pfd.
Referenced by cTSBuffer::Action(), cDvbTuner::ClearEventQueue(), cDvbSdFfDevice::Poll(), cDvbHdFfDevice::Poll(), cKbdRemote::ReadKey(), and WriteAllOrNothing().
int cPoller::numFileHandles [private] |
Definition at line 322 of file include/vdr/tools.h.
pollfd cPoller::pfd [private] |
Definition at line 321 of file include/vdr/tools.h.