|
vdr 2.8.1
|
#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 5603 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 5693 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 5717 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 262 of file menu.h.
References timer.
Referenced by cRecordControl(), RecordingInUseMessage(), and cReplayControl::Stop().
|
private |
Definition at line 247 of file menu.h.
Referenced by cRecordControl(), Device(), and Stop().
|
private |
Definition at line 250 of file menu.h.
Referenced by cRecordControl(), and GetEvent().
|
private |
Definition at line 252 of file menu.h.
Referenced by cRecordControl(), FileName(), Stop(), and ~cRecordControl().
|
private |
Definition at line 251 of file menu.h.
Referenced by cRecordControl(), and InstantId().
|
private |
Definition at line 249 of file menu.h.
Referenced by cRecordControl(), Process(), and Stop().
|
private |
Definition at line 248 of file menu.h.
Referenced by cRecordControl(), GetEvent(), Process(), Stop(), and Timer().