vdr  1.7.31
Public Member Functions | Private Attributes | List of all members
cMarks Class Reference

#include <recording.h>

Public Member Functions

bool Load (const char *RecordingFileName, double FramesPerSecond=DEFAULTFRAMESPERSECOND, bool IsPesRecording=false)
bool Update (void)
void Sort (void)
cMarkAdd (int Position)
cMarkGet (int Position)
cMarkGetPrev (int Position)
cMarkGetNext (int Position)
bool Load (const char *RecordingFileName, double FramesPerSecond=DEFAULTFRAMESPERSECOND, bool IsPesRecording=false)
bool Update (void)
void Sort (void)
cMarkAdd (int Position)
cMarkGet (int Position)
cMarkGetPrev (int Position)
cMarkGetNext (int Position)
- Public Member Functions inherited from cConfig< cMark >
 cConfig (void)
 cConfig (void)
virtual ~cConfig ()
virtual ~cConfig ()
const char * FileName (void)
const char * FileName (void)
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
bool Save (void)
bool Save (void)
- Public Member Functions inherited from cList< cMark >
cMarkGet (int Index) const
cMarkGet (int Index) const
cMarkFirst (void) const
cMarkFirst (void) const
cMarkLast (void) const
cMarkLast (void) const
cMarkPrev (const cMark *object) const
cMarkPrev (const cMark *object) const
cMarkNext (const cMark *object) const
cMarkNext (const cMark *object) const
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
void Add (cListObject *Object, cListObject *After=NULL)
void Ins (cListObject *Object, cListObject *Before=NULL)
void Del (cListObject *Object, bool DeleteObject=true)
virtual void Move (int From, int To)
void Move (cListObject *From, cListObject *To)
virtual void Clear (void)
int Count (void) const
virtual ~cListBase ()
void Add (cListObject *Object, cListObject *After=NULL)
void Ins (cListObject *Object, cListObject *Before=NULL)
void Del (cListObject *Object, bool DeleteObject=true)
virtual void Move (int From, int To)
void Move (cListObject *From, cListObject *To)
virtual void Clear (void)
int Count (void) const

Private Attributes

cString fileName
double framesPerSecond
time_t nextUpdate
time_t lastFileTime
time_t lastChange

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (void)
 cListBase (void)
- Protected Attributes inherited from cListBase
cListObjectobjects
cListObjectlastObject
int count

Detailed Description

Definition at line 224 of file include/vdr/recording.h.

Member Function Documentation

cMark * cMarks::Add ( int  Position)

Definition at line 1421 of file recording.c.

References framesPerSecond, Get(), and Sort().

Referenced by cCuttingThread::Action(), and cReplayControl::MarkToggle().

cMark* cMarks::Add ( int  Position)
cMark * cMarks::Get ( int  Position)
cMark* cMarks::Get ( int  Position)
cMark * cMarks::GetNext ( int  Position)
cMark* cMarks::GetNext ( int  Position)
cMark* cMarks::GetPrev ( int  Position)
cMark * cMarks::GetPrev ( int  Position)

Definition at line 1440 of file recording.c.

References cList< cMark >::Last(), and cList< cMark >::Prev().

Referenced by cReplayControl::MarkJump().

bool cMarks::Load ( const char *  RecordingFileName,
double  FramesPerSecond = DEFAULTFRAMESPERSECOND,
bool  IsPesRecording = false 
)
bool cMarks::Load ( const char *  RecordingFileName,
double  FramesPerSecond = DEFAULTFRAMESPERSECOND,
bool  IsPesRecording = false 
)
void cMarks::Sort ( void  )

Reimplemented from cListBase.

void cMarks::Sort ( void  )

Reimplemented from cListBase.

Definition at line 1409 of file recording.c.

References cList< cMark >::First(), cList< cMark >::Next(), and swap().

Referenced by Add(), and Update().

bool cMarks::Update ( void  )
bool cMarks::Update ( void  )

Member Data Documentation

cString cMarks::fileName
private

Definition at line 226 of file include/vdr/recording.h.

Referenced by Load(), and Update().

double cMarks::framesPerSecond
private

Definition at line 227 of file include/vdr/recording.h.

Referenced by Add(), Load(), and Update().

time_t cMarks::lastChange
private

Definition at line 230 of file include/vdr/recording.h.

Referenced by Load(), and Update().

time_t cMarks::lastFileTime
private

Definition at line 229 of file include/vdr/recording.h.

Referenced by Load(), and Update().

time_t cMarks::nextUpdate
private

Definition at line 228 of file include/vdr/recording.h.

Referenced by Load(), and Update().


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