vdr 2.7.2
cFileName Class Reference

#include <recording.h>

Public Member Functions

 cFileName (const char *FileName, bool Record, bool Blocking=false, bool IsPesRecording=false)
 
 ~cFileName ()
 
const char * Name (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
 
char * fileName
 
char * pFileNumber
 
bool record
 
bool blocking
 
bool isPesRecording
 

Detailed Description

Definition at line 529 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 3150 of file recording.c.

References Close(), and fileName.

Member Function Documentation

◆ Close()

void cFileName::Close ( void )

Definition at line 3231 of file recording.c.

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

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

◆ GetLastPatPmtVersions()

◆ Name()

const char * cFileName::Name ( void )
inline

Definition at line 540 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()

◆ SetOffset()

Member Data Documentation

◆ blocking

bool cFileName::blocking
private

Definition at line 535 of file recording.h.

Referenced by cFileName(), and Open().

◆ file

cUnbufferedFile* cFileName::file
private

Definition at line 531 of file recording.h.

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

◆ fileName

char* cFileName::fileName
private

Definition at line 533 of file recording.h.

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

◆ fileNumber

uint16_t cFileName::fileNumber
private

Definition at line 532 of file recording.h.

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

◆ isPesRecording

bool cFileName::isPesRecording
private

Definition at line 536 of file recording.h.

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

◆ pFileNumber

char * cFileName::pFileNumber
private

Definition at line 533 of file recording.h.

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

◆ record

bool cFileName::record
private

Definition at line 534 of file recording.h.

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


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