|
vdr 2.6.4
|
#include <recording.h>
Public Member Functions | |
| cRecordingInfo (const char *FileName) | |
| ~cRecordingInfo () | |
| tChannelID | ChannelID (void) const |
| const char * | ChannelName (void) const |
| const cEvent * | GetEvent (void) const |
| const char * | Title (void) const |
| const char * | ShortText (void) const |
| const char * | Description (void) const |
| const cComponents * | Components (void) const |
| const char * | Aux (void) const |
| double | FramesPerSecond (void) const |
| void | SetFramesPerSecond (double FramesPerSecond) |
| void | SetFileName (const char *FileName) |
| int | Errors (void) const |
| void | SetErrors (int Errors) |
| bool | Write (FILE *f, const char *Prefix="") const |
| bool | Read (void) |
| bool | Write (void) const |
| void | SetData (const char *Title, const char *ShortText, const char *Description) |
| void | SetAux (const char *Aux) |
Private Member Functions | |
| cRecordingInfo (const cChannel *Channel=NULL, const cEvent *Event=NULL) | |
| bool | Read (FILE *f) |
Private Attributes | |
| tChannelID | channelID |
| char * | channelName |
| const cEvent * | event |
| cEvent * | ownEvent |
| char * | aux |
| double | framesPerSecond |
| int | priority |
| int | lifetime |
| char * | fileName |
| int | errors |
Friends | |
| class | cRecording |
Definition at line 63 of file recording.h.
|
private |
Definition at line 358 of file recording.c.
References cChannel::Alang(), aux, channelID, channelName, Components(), DEFAULTFRAMESPERSECOND, cChannel::Dlang(), errors, event, fileName, framesPerSecond, cChannel::GetChannelID(), tChannelID::InvalidID, tComponent::language, lifetime, MAXAPIDS, MAXDPIDS, MAXLIFETIME, MAXPRIORITY, MAXSPIDS, cChannel::Name(), ownEvent, priority, cChannel::Slang(), and strn0cpy().
| cRecordingInfo::cRecordingInfo | ( | const char * | FileName | ) |
Definition at line 418 of file recording.c.
References aux, channelID, channelName, DEFAULTFRAMESPERSECOND, errors, fileName, framesPerSecond, INFOFILESUFFIX, tChannelID::InvalidID, lifetime, MAXLIFETIME, MAXPRIORITY, ownEvent, priority, and cString::sprintf().
| cRecordingInfo::~cRecordingInfo | ( | ) |
Definition at line 432 of file recording.c.
References aux, channelName, fileName, and ownEvent.
|
inline |
|
inline |
Definition at line 81 of file recording.h.
References channelID.
|
inline |
Definition at line 82 of file recording.h.
References channelName.
Referenced by cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), and cSkinSTTNGDisplayMenu::SetRecording().
|
inline |
Definition at line 87 of file recording.h.
Referenced by cRecordingInfo().
|
inline |
Definition at line 86 of file recording.h.
Referenced by SetData(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), and cSkinSTTNGDisplayMenu::SetRecording().
|
inline |
Definition at line 92 of file recording.h.
References errors.
Referenced by SetErrors(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), cSkinSTTNGDisplayMenu::SetRecording(), and cRecording::WriteInfo().
|
inline |
Definition at line 89 of file recording.h.
References framesPerSecond.
Referenced by cIndexFileGenerator::Action(), and SetFramesPerSecond().
|
inline |
Definition at line 83 of file recording.h.
References event.
Referenced by cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), and cSkinSTTNGDisplayMenu::SetRecording().
|
private |
Definition at line 473 of file recording.c.
References atod(), aux, channelID, channelName, compactspace(), errors, esyslog, framesPerSecond, tChannelID::FromString(), lifetime, ownEvent, priority, cReadLine::Read(), and skipspace().
Referenced by cIndexFileGenerator::Action(), and cRecording::WriteInfo().
| bool cRecordingInfo::Read | ( | void | ) |
Definition at line 548 of file recording.c.
References esyslog, fileName, LOG_ERROR_STR, and Read().
Referenced by Read().
| void cRecordingInfo::SetAux | ( | const char * | Aux | ) |
Definition at line 450 of file recording.c.
| void cRecordingInfo::SetData | ( | const char * | Title, |
| const char * | ShortText, | ||
| const char * | Description ) |
Definition at line 440 of file recording.c.
References Description(), event, ShortText(), and Title().
| void cRecordingInfo::SetErrors | ( | int | Errors | ) |
Definition at line 468 of file recording.c.
| void cRecordingInfo::SetFileName | ( | const char * | FileName | ) |
Definition at line 461 of file recording.c.
References endswith(), fileName, INFOFILESUFFIX, and cString::sprintf().
| void cRecordingInfo::SetFramesPerSecond | ( | double | FramesPerSecond | ) |
Definition at line 456 of file recording.c.
References FramesPerSecond(), and framesPerSecond.
Referenced by cIndexFileGenerator::Action().
|
inline |
Definition at line 85 of file recording.h.
Referenced by SetData(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), cSkinLCARSDisplayReplay::SetRecording(), and cSkinSTTNGDisplayMenu::SetRecording().
|
inline |
Definition at line 84 of file recording.h.
Referenced by SetData(), cSkinClassicDisplayMenu::SetRecording(), cSkinCursesDisplayMenu::SetRecording(), cSkinLCARSDisplayMenu::SetRecording(), cSkinLCARSDisplayReplay::SetRecording(), and cSkinSTTNGDisplayMenu::SetRecording().
| bool cRecordingInfo::Write | ( | FILE * | f, |
| const char * | Prefix = "" ) const |
Definition at line 534 of file recording.c.
References aux, channelID, channelName, dtoa(), errors, framesPerSecond, lifetime, and priority.
Referenced by cIndexFileGenerator::Action().
| bool cRecordingInfo::Write | ( | void | ) | const |
Definition at line 566 of file recording.c.
References cSafeFile::Close(), fileName, LOG_ERROR_STR, cSafeFile::Open(), and Write().
Referenced by Write().
|
friend |
|
private |
Definition at line 70 of file recording.h.
Referenced by Aux(), cRecordingInfo(), cRecordingInfo(), Read(), SetAux(), Write(), and ~cRecordingInfo().
|
private |
Definition at line 66 of file recording.h.
Referenced by ChannelID(), cRecordingInfo(), cRecordingInfo(), Read(), and Write().
|
private |
Definition at line 67 of file recording.h.
Referenced by ChannelName(), cRecordingInfo(), cRecordingInfo(), Read(), Write(), and ~cRecordingInfo().
|
private |
Definition at line 75 of file recording.h.
Referenced by cRecordingInfo(), cRecordingInfo(), Errors(), Read(), SetErrors(), and Write().
|
private |
Definition at line 68 of file recording.h.
Referenced by cRecordingInfo(), GetEvent(), and SetData().
|
private |
Definition at line 74 of file recording.h.
Referenced by cRecordingInfo(), cRecordingInfo(), Read(), SetFileName(), Write(), and ~cRecordingInfo().
|
private |
Definition at line 71 of file recording.h.
Referenced by cRecordingInfo(), cRecordingInfo(), FramesPerSecond(), Read(), SetFramesPerSecond(), and Write().
|
private |
Definition at line 73 of file recording.h.
Referenced by cRecordingInfo(), cRecordingInfo(), Read(), and Write().
|
private |
Definition at line 69 of file recording.h.
Referenced by cRecordingInfo(), cRecordingInfo(), Read(), and ~cRecordingInfo().
|
private |
Definition at line 72 of file recording.h.
Referenced by cRecordingInfo(), cRecordingInfo(), Read(), and Write().