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, bool IsPesRecording=false)
 ~cFileName ()
const char * Name (void)
int Number (void)
cUnbufferedFileOpen (void)
void Close (void)
cUnbufferedFileSetOffset (int Number, off_t Offset=0)
cUnbufferedFileNextFile (void)

Private Attributes

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


Detailed Description

Definition at line 246 of file recording.h.


Constructor & Destructor Documentation

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

Definition at line 1589 of file recording.c.

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

Here is the call graph for this function:

cFileName::~cFileName (  ) 

Definition at line 1607 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 257 of file recording.h.

References fileName.

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

int cFileName::Number ( void   )  [inline]

Definition at line 258 of file recording.h.

References fileNumber.

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

cUnbufferedFile * cFileName::Open ( void   ) 

Definition at line 1613 of file recording.c.

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

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

Here is the call graph for this function:

void cFileName::Close ( void   ) 

Definition at line 1637 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,
off_t  Offset = 0 
)

cUnbufferedFile * cFileName::NextFile ( void   ) 

Definition at line 1688 of file recording.c.

References fileNumber, and SetOffset().

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

Here is the call graph for this function:


Member Data Documentation

Definition at line 248 of file recording.h.

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

int cFileName::fileNumber [private]

Definition at line 249 of file recording.h.

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

char* cFileName::fileName [private]

Definition at line 250 of file recording.h.

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

char * cFileName::pFileNumber [private]

Definition at line 250 of file recording.h.

Referenced by cFileName(), and SetOffset().

bool cFileName::record [private]

Definition at line 251 of file recording.h.

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

bool cFileName::blocking [private]

Definition at line 252 of file recording.h.

Referenced by cFileName(), and Open().

bool cFileName::isPesRecording [private]

Definition at line 253 of file recording.h.

Referenced by cFileName(), and SetOffset().


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

Generated on Tue Jan 13 14:28:56 2009 for VDR by  doxygen 1.5.6