vdr
2.2.0
|
#include <tools.h>
Public Member Functions | |
cFile (void) | |
~cFile () | |
operator int () | |
bool | Open (const char *FileName, int Flags, mode_t Mode=DEFFILEMODE) |
bool | Open (int FileDes) |
void | Close (void) |
bool | IsOpen (void) |
bool | Ready (bool Wait=true) |
Static Public Member Functions | |
static bool | AnyFileReady (int FileDes=-1, int TimeoutMs=1000) |
static bool | FileReady (int FileDes, int TimeoutMs=1000) |
static bool | FileReadyForWriting (int FileDes, int TimeoutMs=1000) |
Private Attributes | |
int | f |
Static Private Attributes | |
static bool | files [] = { false } |
static int | maxFiles = 0 |
|
static |
void cFile::Close | ( | void | ) |
Definition at line 1582 of file tools.c.
Referenced by cSVDRP::Close().
|
static |
Definition at line 1614 of file tools.c.
Referenced by cLircRemote::Action(), and cRcuRemote::ReceiveByte().
|
static |
|
inline |
Definition at line 395 of file tools.h.
Referenced by cSVDRP::Close(), cSVDRP::HasConnection(), cSVDRP::Process(), and cSVDRP::Reply().
bool cFile::Open | ( | const char * | FileName, |
int | Flags, | ||
mode_t | Mode = DEFFILEMODE |
||
) |
bool cFile::Ready | ( | bool | Wait = true | ) |
Definition at line 1591 of file tools.c.
Referenced by cSVDRP::Process().
|
staticprivate |
Definition at line 385 of file tools.h.
Referenced by cFileNameList::Load().
|
staticprivate |
Definition at line 386 of file tools.h.
Referenced by cFileNameList::Load().