vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes | Friends
cRecordingInfo Class Reference

#include <recording.h>

List of all members.

Public Member Functions

 cRecordingInfo (const char *FileName)
 ~cRecordingInfo ()
tChannelID ChannelID (void) const
const char * ChannelName (void) const
const cEventGetEvent (void) const
const char * Title (void) const
const char * ShortText (void) const
const char * Description (void) const
const cComponentsComponents (void) const
const char * Aux (void) const
double FramesPerSecond (void) const
void SetFramesPerSecond (double FramesPerSecond)
bool Write (FILE *f, const char *Prefix="") const
bool Read (void)
bool Write (void) const
 cRecordingInfo (const char *FileName)
 ~cRecordingInfo ()
tChannelID ChannelID (void) const
const char * ChannelName (void) const
const cEventGetEvent (void) const
const char * Title (void) const
const char * ShortText (void) const
const char * Description (void) const
const cComponentsComponents (void) const
const char * Aux (void) const
double FramesPerSecond (void) const
void SetFramesPerSecond (double FramesPerSecond)
bool Write (FILE *f, const char *Prefix="") const
bool Read (void)
bool Write (void) const

Private Member Functions

 cRecordingInfo (const cChannel *Channel=NULL, const cEvent *Event=NULL)
bool Read (FILE *f)
void SetData (const char *Title, const char *ShortText, const char *Description)
void SetAux (const char *Aux)
 cRecordingInfo (const cChannel *Channel=NULL, const cEvent *Event=NULL)
bool Read (FILE *f)
void SetData (const char *Title, const char *ShortText, const char *Description)
void SetAux (const char *Aux)

Private Attributes

tChannelID channelID
char * channelName
const cEventevent
cEventownEvent
char * aux
double framesPerSecond
int priority
int lifetime
char * fileName

Friends

class cRecording

Detailed Description

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


Constructor & Destructor Documentation

cRecordingInfo::cRecordingInfo ( const cChannel Channel = NULL,
const cEvent Event = NULL 
) [private]
cRecordingInfo::cRecordingInfo ( const char *  FileName)

Definition at line 388 of file recording.c.

References aux, channelName, fileName, and ownEvent.

cRecordingInfo::cRecordingInfo ( const cChannel Channel = NULL,
const cEvent Event = NULL 
) [private]
cRecordingInfo::cRecordingInfo ( const char *  FileName)

Member Function Documentation

const char* cRecordingInfo::Aux ( void  ) const [inline]

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

References aux.

const char* cRecordingInfo::Aux ( void  ) const [inline]

Definition at line 75 of file recording.h.

References aux.

tChannelID cRecordingInfo::ChannelID ( void  ) const [inline]

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

References channelID.

tChannelID cRecordingInfo::ChannelID ( void  ) const [inline]

Definition at line 68 of file recording.h.

References channelID.

const char* cRecordingInfo::ChannelName ( void  ) const [inline]

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

References channelName.

const char* cRecordingInfo::ChannelName ( void  ) const [inline]

Definition at line 69 of file recording.h.

References channelName.

const cComponents* cRecordingInfo::Components ( void  ) const [inline]

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

Referenced by cRecordingInfo(), and SetTrackDescriptions().

const cComponents* cRecordingInfo::Components ( void  ) const [inline]

Definition at line 74 of file recording.h.

const char* cRecordingInfo::Description ( void  ) const [inline]
const char* cRecordingInfo::Description ( void  ) const [inline]

Definition at line 73 of file recording.h.

double cRecordingInfo::FramesPerSecond ( void  ) const [inline]

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

References framesPerSecond.

Referenced by cRecorder::Action(), and SetFramesPerSecond().

double cRecordingInfo::FramesPerSecond ( void  ) const [inline]

Definition at line 76 of file recording.h.

References framesPerSecond.

const cEvent* cRecordingInfo::GetEvent ( void  ) const [inline]

Definition at line 70 of file recording.h.

References event.

const cEvent* cRecordingInfo::GetEvent ( void  ) const [inline]
bool cRecordingInfo::Read ( FILE *  f) [private]
bool cRecordingInfo::Read ( FILE *  f) [private]
bool cRecordingInfo::Read ( void  )

Definition at line 489 of file recording.c.

References esyslog, fileName, and LOG_ERROR_STR.

bool cRecordingInfo::Read ( void  )
void cRecordingInfo::SetAux ( const char *  Aux) [private]
void cRecordingInfo::SetAux ( const char *  Aux) [private]

Definition at line 406 of file recording.c.

References aux.

Referenced by cRecording::cRecording().

void cRecordingInfo::SetData ( const char *  Title,
const char *  ShortText,
const char *  Description 
) [private]
void cRecordingInfo::SetData ( const char *  Title,
const char *  ShortText,
const char *  Description 
) [private]

Definition at line 396 of file recording.c.

References event, and isempty().

Referenced by cRecording::cRecording().

void cRecordingInfo::SetFramesPerSecond ( double  FramesPerSecond)
void cRecordingInfo::SetFramesPerSecond ( double  FramesPerSecond)

Definition at line 412 of file recording.c.

References framesPerSecond, and FramesPerSecond().

Referenced by cRecorder::Action().

const char* cRecordingInfo::ShortText ( void  ) const [inline]
const char* cRecordingInfo::ShortText ( void  ) const [inline]

Definition at line 72 of file recording.h.

const char* cRecordingInfo::Title ( void  ) const [inline]
const char* cRecordingInfo::Title ( void  ) const [inline]

Definition at line 71 of file recording.h.

bool cRecordingInfo::Write ( FILE *  f,
const char *  Prefix = "" 
) const
bool cRecordingInfo::Write ( FILE *  f,
const char *  Prefix = "" 
) const
bool cRecordingInfo::Write ( void  ) const

Definition at line 507 of file recording.c.

References cSafeFile::Close(), fileName, LOG_ERROR_STR, and cSafeFile::Open().

bool cRecordingInfo::Write ( void  ) const

Friends And Related Function Documentation

cRecording [friend]

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


Member Data Documentation

char * cRecordingInfo::aux [private]

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

Referenced by Aux(), cRecordingInfo(), Read(), SetAux(), Write(), and ~cRecordingInfo().

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

Referenced by ChannelID(), cRecordingInfo(), Read(), and Write().

char * cRecordingInfo::channelName [private]

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

Referenced by ChannelName(), cRecordingInfo(), Read(), Write(), and ~cRecordingInfo().

const cEvent * cRecordingInfo::event [private]

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

Referenced by cRecordingInfo(), GetEvent(), and SetData().

char * cRecordingInfo::fileName [private]

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

Referenced by cRecordingInfo(), Read(), Write(), and ~cRecordingInfo().

int cRecordingInfo::lifetime [private]

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

Referenced by cRecordingInfo(), Read(), and ~cRecordingInfo().

int cRecordingInfo::priority [private]

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