vdr 2.6.3
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
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 463 of file tools.h.

Constructor & Destructor Documentation

◆ cFile()

cFile::cFile ( void  )

Definition at line 1641 of file tools.c.

◆ ~cFile()

cFile::~cFile ( )

Definition at line 1646 of file tools.c.

Member Function Documentation

◆ Close()

void cFile::Close ( void  )

Definition at line 1686 of file tools.c.

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

◆ FileReady()

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

Definition at line 1722 of file tools.c.

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

◆ IsOpen()

bool cFile::IsOpen ( void  )
inline

◆ Open() [1/2]

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

Definition at line 1651 of file tools.c.

References esyslog.

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

◆ Open() [2/2]

bool cFile::Open ( int  FileDes)

Definition at line 1659 of file tools.c.

References esyslog.

◆ operator int()

cFile::operator int ( )
inline

Definition at line 473 of file tools.h.

◆ Ready()

bool cFile::Ready ( bool  Wait = true)

Definition at line 1697 of file tools.c.

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

Member Data Documentation

◆ f

int cFile::f
private

Definition at line 469 of file tools.h.


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