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

#include <recording.h>

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 47 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)
cRecordingInfo::~cRecordingInfo ( )

Definition at line 392 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)
cRecordingInfo::~cRecordingInfo ( )

Member Function Documentation

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

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

References aux.

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

Definition at line 73 of file recording.h.

References aux.

tChannelID cRecordingInfo::ChannelID ( void  ) const
inline

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

References channelID.

tChannelID cRecordingInfo::ChannelID ( void  ) const
inline

Definition at line 66 of file recording.h.

References channelID.

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

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

References channelName.

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

Definition at line 67 of file recording.h.

References channelName.

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

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

Referenced by cRecordingInfo(), and SetTrackDescriptions().

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

Definition at line 72 of file recording.h.

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

Definition at line 71 of file recording.h.

double cRecordingInfo::FramesPerSecond ( void  ) const
inline

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

References framesPerSecond.

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

double cRecordingInfo::FramesPerSecond ( void  ) const
inline

Definition at line 74 of file recording.h.

References framesPerSecond.

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

Definition at line 68 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 493 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 410 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 400 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 416 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 70 of file recording.h.

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

Definition at line 69 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 511 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 48 of file include/vdr/recording.h.

Member Data Documentation

char * cRecordingInfo::aux
private

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

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

tChannelID cRecordingInfo::channelID
private

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

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

char * cRecordingInfo::channelName
private

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

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

const cEvent * cRecordingInfo::event
private

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

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

char * cRecordingInfo::fileName
private

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

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

double cRecordingInfo::framesPerSecond
private
int cRecordingInfo::lifetime
private
cEvent * cRecordingInfo::ownEvent
private
int cRecordingInfo::priority
private

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