SASC
DVBSoftCAM

cRecording Class Reference

#include <recording.h>

Inheritance diagram for cRecording:

List of all members.

Public Member Functions

 cRecording (cTimer *Timer, const cEvent *Event)
 cRecording (const char *FileName)
virtual ~cRecording ()
virtual int Compare (const cListObject &ListObject) const
const char * Name (void) const
const char * FileName (void) const
const char * Title (char Delimiter= ' ', bool NewIndicator=false, int Level=-1) const
const cRecordingInfo * Info (void) const
const char * PrefixFileName (char Prefix)
int HierarchyLevels (void) const
void ResetResume (void) const
bool IsNew (void) const
bool IsEdited (void) const
bool WriteInfo (void)
bool Delete (void)
bool Remove (void)

Public Attributes

time_t start
int priority
int lifetime
time_t deleted

Friends

class cRecordings

Detailed Description

Definition at line 65 of file recording.h.


Constructor & Destructor Documentation

cRecording::cRecording ( cTimer *  Timer,
const cEvent *  Event 
)
cRecording::cRecording ( const char *  FileName)
virtual cRecording::~cRecording ( ) [virtual]

Member Function Documentation

virtual int cRecording::Compare ( const cListObject &  ListObject) const [virtual]

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented from cListObject.

bool cRecording::Delete ( void  )
const char* cRecording::FileName ( void  ) const
int cRecording::HierarchyLevels ( void  ) const
const cRecordingInfo* cRecording::Info ( void  ) const [inline]

Definition at line 90 of file recording.h.

References info.

{ return info; }
bool cRecording::IsEdited ( void  ) const
bool cRecording::IsNew ( void  ) const [inline]

Definition at line 94 of file recording.h.

{ return GetResume() <= 0; }
const char* cRecording::Name ( void  ) const [inline]

Definition at line 87 of file recording.h.

{ return name; }
const char* cRecording::PrefixFileName ( char  Prefix)
bool cRecording::Remove ( void  )
void cRecording::ResetResume ( void  ) const
const char* cRecording::Title ( char  Delimiter = ' ',
bool  NewIndicator = false,
int  Level = -1 
) const
bool cRecording::WriteInfo ( void  )

Friends And Related Function Documentation

friend class cRecordings [friend]

Definition at line 66 of file recording.h.


Member Data Documentation

Definition at line 82 of file recording.h.

Definition at line 81 of file recording.h.

Definition at line 80 of file recording.h.

Definition at line 79 of file recording.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines