vdr  2.6.9
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)
 
- 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
 

Private Attributes

double framesPerSecond
 
int position
 
cString comment
 

Friends

class cMarks
 

Detailed Description

Definition at line 378 of file recording.h.

Constructor & Destructor Documentation

◆ cMark()

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

Definition at line 2242 of file recording.c.

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

◆ ~cMark()

cMark::~cMark ( )
virtual

Definition at line 2249 of file recording.c.

Member Function Documentation

◆ Comment()

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

Definition at line 388 of file recording.h.

References comment.

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

◆ Parse()

bool cMark::Parse ( const char *  s)

◆ Position()

int cMark::Position ( void  ) const
inline

◆ Save()

bool cMark::Save ( FILE *  f)

Definition at line 2272 of file recording.c.

References ToText().

◆ SetComment()

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

Definition at line 390 of file recording.h.

References comment, and Comment().

◆ SetPosition()

void cMark::SetPosition ( int  Position)
inline

Definition at line 389 of file recording.h.

References position, and Position().

Referenced by cReplayControl::MarkMove().

◆ ToText()

cString cMark::ToText ( void  )

Definition at line 2253 of file recording.c.

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

Referenced by Save().

Friends And Related Function Documentation

◆ cMarks

friend class cMarks
friend

Definition at line 379 of file recording.h.

Member Data Documentation

◆ comment

cString cMark::comment
private

Definition at line 383 of file recording.h.

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

◆ framesPerSecond

double cMark::framesPerSecond
private

Definition at line 381 of file recording.h.

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

◆ position

int cMark::position
private

Definition at line 382 of file recording.h.

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


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