vdr 2.8.1
cResumeFile Class Reference

#include <recording.h>

Public Member Functions

 cResumeFile (const char *FileName, bool IsPesRecording)
 ~cResumeFile ()
void SetFileName (const char *FileName)
time_t FileTime (void)
int Index (void)
int Read (void)
bool Save (int Index)
void Reset (void)
void Delete (void)

Private Attributes

char * fileName
time_t fileTime
int index
bool isPesRecording

Detailed Description

Definition at line 52 of file recording.h.

Constructor & Destructor Documentation

◆ cResumeFile()

cResumeFile::cResumeFile ( const char * FileName,
bool IsPesRecording )

Definition at line 244 of file recording.c.

References fileName, fileTime, index, isPesRecording, RESUME_NOT_INITIALIZED, and SetFileName().

◆ ~cResumeFile()

cResumeFile::~cResumeFile ( )

Definition at line 253 of file recording.c.

References fileName.

Member Function Documentation

◆ Delete()

void cResumeFile::Delete ( void )

Definition at line 378 of file recording.c.

References fileName, LOCK_RECORDINGS_WRITE, and LOG_ERROR_STR.

Referenced by cSVDRPServer::CmdPLAY().

◆ FileTime()

time_t cResumeFile::FileTime ( void )

Definition at line 272 of file recording.c.

References fileTime, index, Read(), and RESUME_NOT_INITIALIZED.

◆ Index()

int cResumeFile::Index ( void )

Definition at line 279 of file recording.c.

References index, Read(), and RESUME_NOT_INITIALIZED.

Referenced by Save().

◆ Read()

int cResumeFile::Read ( void )

Definition at line 286 of file recording.c.

References fileName, fileTime, index, isPesRecording, LOG_ERROR_STR, cReadLine::Read(), safe_read(), and skipspace().

Referenced by FileTime(), and Index().

◆ Reset()

void cResumeFile::Reset ( void )

Definition at line 373 of file recording.c.

References index, and RESUME_NOT_INITIALIZED.

Referenced by SetFileName().

◆ Save()

bool cResumeFile::Save ( int Index)

◆ SetFileName()

void cResumeFile::SetFileName ( const char * FileName)

Definition at line 258 of file recording.c.

References esyslog, fileName, isPesRecording, itoa(), MALLOC, Reset(), RESUMEFILESUFFIX, and Setup.

Referenced by cResumeFile().

Member Data Documentation

◆ fileName

char* cResumeFile::fileName
private

Definition at line 54 of file recording.h.

Referenced by cResumeFile(), Delete(), Read(), Save(), SetFileName(), and ~cResumeFile().

◆ fileTime

time_t cResumeFile::fileTime
private

Definition at line 55 of file recording.h.

Referenced by cResumeFile(), FileTime(), Read(), and Save().

◆ index

int cResumeFile::index
private

Definition at line 56 of file recording.h.

Referenced by cResumeFile(), FileTime(), Index(), Read(), Reset(), and Save().

◆ isPesRecording

bool cResumeFile::isPesRecording
private

Definition at line 57 of file recording.h.

Referenced by cResumeFile(), Read(), Save(), and SetFileName().


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