vdr 2.7.7
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 531 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 3179 of file recording.c.

References Close(), and fileName.

Member Function Documentation

◆ Close()

void cFileName::Close ( void )

Definition at line 3260 of file recording.c.

References file, fileName, and LOG_ERROR_STR.

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

◆ GetLastPatPmtVersions()

◆ Name()

const char * cFileName::Name ( void )
inline

Definition at line 542 of file recording.h.

References fileName.

◆ NextFile()

cUnbufferedFile * cFileName::NextFile ( void )

Definition at line 3312 of file recording.c.

References fileNumber, and SetOffset().

Referenced by cIndexFileGenerator::Action().

◆ Number()

uint16_t cFileName::Number ( void )
inline

Definition at line 543 of file recording.h.

References fileNumber.

Referenced by cIndexFileGenerator::Action(), GetLastPatPmtVersions(), and SetOffset().

◆ Open()

◆ SetOffset()

Member Data Documentation

◆ blocking

bool cFileName::blocking
private

Definition at line 537 of file recording.h.

Referenced by cFileName(), and Open().

◆ file

cUnbufferedFile* cFileName::file
private

Definition at line 533 of file recording.h.

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

◆ fileName

char* cFileName::fileName
private

Definition at line 535 of file recording.h.

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

◆ fileNumber

uint16_t cFileName::fileNumber
private

Definition at line 534 of file recording.h.

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

◆ isPesRecording

bool cFileName::isPesRecording
private

Definition at line 538 of file recording.h.

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

◆ pFileNumber

char * cFileName::pFileNumber
private

Definition at line 535 of file recording.h.

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

◆ record

bool cFileName::record
private

Definition at line 536 of file recording.h.

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


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