vdr 2.6.8
cFile Class Reference

#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 FileReady (int FileDes, int TimeoutMs=1000)
 

Private Attributes

int f
 

Detailed Description

Definition at line 466 of file tools.h.

Constructor & Destructor Documentation

◆ cFile()

cFile::cFile ( void )

Definition at line 1672 of file tools.c.

◆ ~cFile()

cFile::~cFile ( )

Definition at line 1677 of file tools.c.

Member Function Documentation

◆ Close()

void cFile::Close ( void )

Definition at line 1717 of file tools.c.

Referenced by cSVDRPClient::Close(), and cSVDRPServer::Close().

◆ FileReady()

bool cFile::FileReady ( int FileDes,
int TimeoutMs = 1000 )
static

Definition at line 1753 of file tools.c.

Referenced by cLircUsrRemote::Action(), and cRcuRemote::ReceiveByte().

◆ IsOpen()

◆ Open() [1/2]

bool cFile::Open ( const char * FileName,
int Flags,
mode_t Mode = DEFFILEMODE )

Definition at line 1682 of file tools.c.

References esyslog.

Referenced by cSVDRPClient::cSVDRPClient(), and cSVDRPServer::cSVDRPServer().

◆ Open() [2/2]

bool cFile::Open ( int FileDes)

Definition at line 1690 of file tools.c.

References esyslog.

◆ operator int()

cFile::operator int ( )
inline

Definition at line 476 of file tools.h.

◆ Ready()

bool cFile::Ready ( bool Wait = true)

Definition at line 1728 of file tools.c.

Referenced by cSVDRPClient::Process(), and cSVDRPServer::Process().

Member Data Documentation

◆ f

int cFile::f
private

Definition at line 472 of file tools.h.


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