vdr 2.6.1
Public Member Functions | Private Attributes | Friends | List of all members
cMark Class Reference

#include <recording.h>

Public Member Functions

 cMark (int Position=0, const char *Comment=NULL, double FramesPerSecond=DEFAULTFRAMESPERSECOND)
 
virtual ~cMark ()
 
int Position (void) const
 
const char * Comment (void) const
 
void SetPosition (int Position)
 
void SetComment (const char *Comment)
 
cString ToText (void)
 
bool Parse (const char *s)
 
bool Save (FILE *f)
 
 cMark (int Position=0, const char *Comment=NULL, double FramesPerSecond=DEFAULTFRAMESPERSECOND)
 
virtual ~cMark ()
 
int Position (void) const
 
const char * Comment (void) const
 
void SetPosition (int Position)
 
void SetComment (const char *Comment)
 
cString ToText (void)
 
bool Parse (const char *s)
 
bool Save (FILE *f)
 
- Public Member Functions inherited from cListObject
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 
 cListObject (void)
 
virtual ~cListObject ()
 
virtual int Compare (const cListObject &ListObject) const
 
void Append (cListObject *Object)
 
void Insert (cListObject *Object)
 
void Unlink (void)
 
int Index (void) const
 
cListObjectPrev (void) const
 
cListObjectNext (void) const
 

Private Attributes

double framesPerSecond
 
int position
 
cString comment
 

Friends

class cMarks
 

Detailed Description

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

Constructor & Destructor Documentation

◆ cMark() [1/2]

cMark::cMark ( int  Position = 0,
const char *  Comment = NULL,
double  FramesPerSecond = DEFAULTFRAMESPERSECOND 
)

Definition at line 2122 of file recording.c.

References comment, Comment(), framesPerSecond, position, and Position().

◆ ~cMark() [1/2]

cMark::~cMark ( )
virtual

Definition at line 2129 of file recording.c.

◆ cMark() [2/2]

cMark::cMark ( int  Position = 0,
const char *  Comment = NULL,
double  FramesPerSecond = DEFAULTFRAMESPERSECOND 
)

◆ ~cMark() [2/2]

virtual cMark::~cMark ( )
virtual

Member Function Documentation

◆ Comment() [1/2]

const char * cMark::Comment ( void  ) const
inline

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

References comment.

Referenced by cMark(), SetComment(), and ToText().

◆ Comment() [2/2]

const char * cMark::Comment ( void  ) const
inline

Definition at line 364 of file recording.h.

References comment.

◆ Parse() [1/2]

bool cMark::Parse ( const char *  s)

◆ Parse() [2/2]

bool cMark::Parse ( const char *  s)

◆ Position() [1/2]

int cMark::Position ( void  ) const
inline

◆ Position() [2/2]

int cMark::Position ( void  ) const
inline

Definition at line 363 of file recording.h.

References position.

◆ Save() [1/2]

bool cMark::Save ( FILE *  f)

Definition at line 2152 of file recording.c.

References ToText().

◆ Save() [2/2]

bool cMark::Save ( FILE *  f)

◆ SetComment() [1/2]

void cMark::SetComment ( const char *  Comment)
inline

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

References comment, and Comment().

◆ SetComment() [2/2]

void cMark::SetComment ( const char *  Comment)
inline

Definition at line 366 of file recording.h.

References comment, and Comment().

◆ SetPosition() [1/2]

void cMark::SetPosition ( int  Position)
inline

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

References position, and Position().

Referenced by cReplayControl::MarkMove().

◆ SetPosition() [2/2]

void cMark::SetPosition ( int  Position)
inline

Definition at line 365 of file recording.h.

References position, and Position().

◆ ToText() [1/2]

cString cMark::ToText ( void  )

Definition at line 2133 of file recording.c.

References Comment(), framesPerSecond, IndexToHMSF(), position, and cString::sprintf().

Referenced by Save().

◆ ToText() [2/2]

cString cMark::ToText ( void  )

Friends And Related Function Documentation

◆ cMarks

cMarks
friend

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

Member Data Documentation

◆ comment

cString cMark::comment
private

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

Referenced by cMark(), Comment(), Parse(), and SetComment().

◆ framesPerSecond

double cMark::framesPerSecond
private

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

Referenced by cMark(), Parse(), and ToText().

◆ position

int cMark::position
private

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

Referenced by cMark(), Parse(), Position(), SetPosition(), and ToText().


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