cFileName Class Reference

#include <recording.h>

Collaboration diagram for cFileName:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cFileName (const char *FileName, bool Record, bool Blocking=false)
 ~cFileName ()
const char * Name (void)
int Number (void)
cUnbufferedFileOpen (void)
void Close (void)
cUnbufferedFileSetOffset (int Number, int Offset=0)
cUnbufferedFileNextFile (void)

Private Attributes

cUnbufferedFilefile
int fileNumber
char * fileName
char * pFileNumber
bool record
bool blocking


Detailed Description

Definition at line 216 of file recording.h.


Constructor & Destructor Documentation

cFileName::cFileName ( const char *  FileName,
bool  Record,
bool  Blocking = false 
)

Definition at line 1395 of file recording.c.

References blocking, esyslog, file, fileName, fileNumber, MALLOC, pFileNumber, record, RECORDFILESUFFIXLEN, and SetOffset().

Here is the call graph for this function:

cFileName::~cFileName (  ) 

Definition at line 1412 of file recording.c.

References Close(), and fileName.

Here is the call graph for this function:


Member Function Documentation

const char* cFileName::Name ( void   )  [inline]

Definition at line 226 of file recording.h.

References fileName.

Referenced by cFileWriter::Action(), and cFileWriter::RunningLowOnDiskSpace().

int cFileName::Number ( void   )  [inline]

Definition at line 227 of file recording.h.

References fileNumber.

Referenced by cFileWriter::Action(), and cCuttingThread::Action().

cUnbufferedFile * cFileName::Open ( void   ) 

Definition at line 1418 of file recording.c.

References blocking, cUnbufferedFile::Create(), dsyslog, file, fileName, LOG_ERROR_STR, OpenVideoFile(), and record.

Referenced by cCuttingThread::Action(), cDvbPlayer::cDvbPlayer(), cFileWriter::cFileWriter(), and SetOffset().

Here is the call graph for this function:

void cFileName::Close ( void   ) 

Definition at line 1442 of file recording.c.

References CloseVideoFile(), file, fileName, and LOG_ERROR_STR.

Referenced by SetOffset(), and ~cFileName().

Here is the call graph for this function:

cUnbufferedFile * cFileName::SetOffset ( int  Number,
int  Offset = 0 
)

Definition at line 1451 of file recording.c.

References Close(), dsyslog, esyslog, file, fileName, fileNumber, LOG_ERROR_STR, MAXFILESPERRECORDING, Open(), pFileNumber, record, RECORDFILESUFFIX, and cUnbufferedFile::Seek().

Referenced by cCuttingThread::Action(), cFileName(), NextFile(), and cDvbPlayer::NextFile().

Here is the call graph for this function:

cUnbufferedFile * cFileName::NextFile ( void   ) 

Definition at line 1492 of file recording.c.

References fileNumber, and SetOffset().

Referenced by cCuttingThread::Action(), cFileWriter::NextFile(), and cDvbPlayer::NextFile().

Here is the call graph for this function:


Member Data Documentation

cUnbufferedFile* cFileName::file [private]

Definition at line 218 of file recording.h.

Referenced by cFileName(), Close(), Open(), and SetOffset().

int cFileName::fileNumber [private]

Definition at line 219 of file recording.h.

Referenced by cFileName(), NextFile(), Number(), and SetOffset().

char* cFileName::fileName [private]

Definition at line 220 of file recording.h.

Referenced by cFileName(), Close(), Name(), Open(), SetOffset(), and ~cFileName().

char * cFileName::pFileNumber [private]

Definition at line 220 of file recording.h.

Referenced by cFileName(), and SetOffset().

bool cFileName::record [private]

Definition at line 221 of file recording.h.

Referenced by cFileName(), Open(), and SetOffset().

bool cFileName::blocking [private]

Definition at line 222 of file recording.h.

Referenced by cFileName(), and Open().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:12:07 2007 for VDR by  doxygen 1.5.3-20071008