|
vdr 2.6.1
|
#include <tools.h>
Public Member Functions | |
| cPoller (int FileHandle=-1, bool Out=false) | |
| bool | Add (int FileHandle, bool Out) |
| void | Del (int FileHandle, bool Out) |
| bool | Poll (int TimeoutMs=0) |
Private Types | |
| enum | { MaxPollFiles = 64 } |
Private Attributes | |
| pollfd | pfd [MaxPollFiles] |
| int | numFileHandles |
| cPoller::cPoller | ( | int | FileHandle = -1, |
| bool | Out = false |
||
| ) |
Definition at line 1501 of file tools.c.
References Add(), and numFileHandles.
| bool cPoller::Add | ( | int | FileHandle, |
| bool | Out | ||
| ) |
Definition at line 1507 of file tools.c.
References esyslog, MaxPollFiles, numFileHandles, and pfd.
Referenced by cSVDRPClientHandler::Action(), cSVDRPServerHandler::Action(), cPoller(), cSVDRPClient::cSVDRPClient(), cSVDRPServer::cSVDRPServer(), cDvbHdFfDevice::Poll(), and cDvbSdFfDevice::Poll().
| void cPoller::Del | ( | int | FileHandle, |
| bool | Out | ||
| ) |
Definition at line 1526 of file tools.c.
References numFileHandles, and pfd.
Referenced by cSVDRPClientHandler::Action(), cSVDRPServerHandler::Action(), cSVDRPServer::Close(), and cSVDRPClient::Close().
| bool cPoller::Poll | ( | int | TimeoutMs = 0 | ) |
Definition at line 1539 of file tools.c.
References numFileHandles, and pfd.
Referenced by cTSBuffer::Action(), cSVDRPClientHandler::Action(), cSVDRPServerHandler::Action(), cDvbTuner::ClearEventQueue(), cDvbHdFfDevice::Poll(), cDvbSdFfDevice::Poll(), cKbdRemote::ReadKey(), and WriteAllOrNothing().
|
private |
|
private |