vdr 2.7.5
|
#include <menu.h>
Public Member Functions | |
cRecordControl (cDevice *Device, cTimers *Timers, cTimer *Timer=NULL, bool Pause=false) | |
virtual | ~cRecordControl () |
bool | Process (time_t t) |
cDevice * | Device (void) |
void | Stop (bool ExecuteUserCommand=true) |
const char * | InstantId (void) |
const char * | FileName (void) |
cTimer * | Timer (void) |
Private Member Functions | |
bool | GetEvent (void) |
Private Attributes | |
cDevice * | device |
cTimer * | timer |
cRecorder * | recorder |
const cEvent * | event |
cString | instantId |
char * | fileName |
cRecordControl::cRecordControl | ( | cDevice * | Device, |
cTimers * | Timers, | ||
cTimer * | Timer = NULL, | ||
bool | Pause = false ) |
Definition at line 5407 of file menu.c.
References cTimers::Add(), DEFERTIMER, cTimers::Del(), DELETENULL(), Device(), device, dsyslog, event, cRecording::FileName(), fileName, cChannels::GetChannelsRead(), GetEvent(), cRecordControls::GetRecordControl(), cSchedules::GetSchedulesRead(), instantId, cRecordingUserCommand::InvokeCommand(), isyslog, cReplayControl::LastReplayed(), LOCK_RECORDINGS_WRITE, MakeDirs(), cStatus::MsgRecording(), cRecording::Name(), cDevice::NumDevices(), cDevice::PrimaryDevice(), recorder, cStateKey::Remove(), RUC_BEFORERECORDING, cListBase::SetModified(), cReplayControl::SetRecording(), SetRecordingTimerId(), Setup, cString::sprintf(), Timer(), timer, and cRecording::WriteInfo().
|
virtual |
|
inline |
|
inline |
|
private |
Definition at line 5497 of file menu.c.
References dsyslog, event, INSTANT_REC_EPG_LOOKAHEAD, LOCK_SCHEDULES_READ, MAXWAIT4EPGINFO, cCondWait::SleepMs(), tfInstant, and timer.
Referenced by cRecordControl().
|
inline |
bool cRecordControl::Process | ( | time_t | t | ) |
void cRecordControl::Stop | ( | bool | ExecuteUserCommand = true | ) |
Definition at line 5521 of file menu.c.
References DELETENULL(), device, DoneRecordingsPattern, fileName, FOLDERDELIMCHAR, cRecordingUserCommand::InvokeCommand(), isyslog, cStatus::MsgRecording(), recorder, RUC_AFTERRECORDING, SetRecordingTimerId(), strgetlast(), tfActive, tfAvoid, and timer.
Referenced by cReplayControl::Stop(), and ~cRecordControl().
|
inline |
Definition at line 254 of file menu.h.
References timer.
Referenced by cRecordControl(), RecordingInUseMessage(), and cReplayControl::Stop().
|
private |
Definition at line 239 of file menu.h.
Referenced by cRecordControl(), Device(), and Stop().
|
private |
Definition at line 242 of file menu.h.
Referenced by cRecordControl(), and GetEvent().
|
private |
Definition at line 244 of file menu.h.
Referenced by cRecordControl(), FileName(), Stop(), and ~cRecordControl().
|
private |
Definition at line 243 of file menu.h.
Referenced by cRecordControl(), and InstantId().
|
private |
Definition at line 241 of file menu.h.
Referenced by cRecordControl(), Process(), and Stop().
|
private |
Definition at line 240 of file menu.h.
Referenced by cRecordControl(), GetEvent(), Process(), Stop(), and Timer().