Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cFileName Class Reference

#include <recording.h>


Detailed Description

File naming.

Definition at line 167 of file recording.h.

Public Methods

 cFileName (const char *FileName, bool Record, bool Blocking=false)
 ~cFileName ()
const char * Name (void)
int Number (void)
int Open (void)
void Close (void)
int SetOffset (int Number, int Offset=0)
int NextFile (void)

Private Attributes

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


Constructor & Destructor Documentation

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

Definition at line 1010 of file recording.c.

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

cFileName::~cFileName  
 

Definition at line 1027 of file recording.c.

References Close().


Member Function Documentation

void cFileName::Close void   
 

Definition at line 1057 of file recording.c.

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

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

const char* cFileName::Name void    [inline]
 

Definition at line 177 of file recording.h.

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

int cFileName::NextFile void   
 

Definition at line 1094 of file recording.c.

References SetOffset().

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

int cFileName::Number void    [inline]
 

Definition at line 178 of file recording.h.

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

int cFileName::Open void   
 

Definition at line 1033 of file recording.c.

References blocking, dsyslog, file, LOG_ERROR_STR, and OpenVideoFile().

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

int cFileName::SetOffset int    Number,
int    Offset = 0
 

Definition at line 1066 of file recording.c.

References Close(), esyslog, file, fileNumber, LOG_ERROR_STR, MAXFILESPERRECORDING, Open(), and record.

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


Field Documentation

bool cFileName::blocking [private]
 

Definition at line 173 of file recording.h.

Referenced by cFileName(), and Open().

int cFileName::file [private]
 

Definition at line 169 of file recording.h.

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

char* cFileName::fileName [private]
 

Definition at line 171 of file recording.h.

Referenced by cFileName().

int cFileName::fileNumber [private]
 

Definition at line 170 of file recording.h.

Referenced by cFileName(), and SetOffset().

char * cFileName::pFileNumber [private]
 

Definition at line 171 of file recording.h.

Referenced by cFileName().

bool cFileName::record [private]
 

Definition at line 172 of file recording.h.

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


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:13 2003 for VDR by doxygen1.3-rc2