vdr 2.6.7
Public Member Functions | Private Attributes | List of all members
cFileName Class Reference

#include <recording.h>

Public Member Functions

 cFileName (const char *FileName, bool Record, bool Blocking=false, bool IsPesRecording=false)
 
 ~cFileName ()
 
const charName (void)
 
uint16_t Number (void)
 
bool GetLastPatPmtVersions (int &PatVersion, int &PmtVersion)
 
cUnbufferedFileOpen (void)
 
void Close (void)
 
cUnbufferedFileSetOffset (int Number, off_t Offset=0)
 
cUnbufferedFileNextFile (void)
 

Private Attributes

cUnbufferedFilefile
 
uint16_t fileNumber
 
charfileName
 
charpFileNumber
 
bool record
 
bool blocking
 
bool isPesRecording
 

Detailed Description

Definition at line 507 of file recording.h.

Constructor & Destructor Documentation

◆ cFileName()

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

◆ ~cFileName()

cFileName::~cFileName ( )

Definition at line 3034 of file recording.c.

References Close(), fileName, and Number().

Member Function Documentation

◆ Close()

void cFileName::Close ( void )

Definition at line 3115 of file recording.c.

References cUnbufferedFile::Close(), file, fileName, LOG_ERROR_STR, and Number().

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

◆ GetLastPatPmtVersions()

bool cFileName::GetLastPatPmtVersions ( int & PatVersion,
int & PmtVersion )

◆ Name()

const char * cFileName::Name ( void )
inline

Definition at line 518 of file recording.h.

References fileName.

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

◆ NextFile()

cUnbufferedFile * cFileName::NextFile ( void )

◆ Number()

uint16_t cFileName::Number ( void )
inline

◆ Open()

cUnbufferedFile * cFileName::Open ( void )

◆ SetOffset()

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

Member Data Documentation

◆ blocking

bool cFileName::blocking
private

Definition at line 513 of file recording.h.

Referenced by cFileName(), and Open().

◆ file

cUnbufferedFile* cFileName::file
private

Definition at line 509 of file recording.h.

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

◆ fileName

char* cFileName::fileName
private

Definition at line 511 of file recording.h.

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

◆ fileNumber

uint16_t cFileName::fileNumber
private

Definition at line 510 of file recording.h.

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

◆ isPesRecording

bool cFileName::isPesRecording
private

Definition at line 514 of file recording.h.

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

◆ pFileNumber

char * cFileName::pFileNumber
private

Definition at line 511 of file recording.h.

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

◆ record

bool cFileName::record
private

Definition at line 512 of file recording.h.

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


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