vdr 2.6.7
|
#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 5395 of file menu.c.
References cTimers::Add(), cDevice::AttachReceiver(), cTimer::Channel(), DEFERTIMER, cTimers::Del(), DELETENULL(), device, Device(), cDevice::DeviceNumber(), dsyslog, event, cTimer::Event(), fileName, cRecording::FileName(), cChannels::GetChannelsRead(), GetEvent(), cRecordControls::GetRecordControl(), cSchedules::GetSchedulesRead(), cTimer::Id(), instantId, cRecordingUserCommand::InvokeCommand(), isyslog, cReplayControl::LastReplayed(), LOCK_RECORDINGS_WRITE, MakeDirs(), cStatus::MsgRecording(), cChannel::Name(), cRecording::Name(), cDevice::NumDevices(), cTimer::OnOff(), cDevice::PrimaryDevice(), cTimer::Priority(), recorder, cStateKey::Remove(), RUC_BEFORERECORDING, cTimer::SetDeferred(), cListBase::SetModified(), cTimer::SetPending(), cTimer::SetRecording(), cReplayControl::SetRecording(), SetRecordingTimerId(), Setup, cString::sprintf(), cSetup::SVDRPHostName, timer, Timer(), cEvent::Title(), and cRecording::WriteInfo().
|
virtual |
|
inline |
|
inline |
|
private |
Definition at line 5485 of file menu.c.
References cTimer::Channel(), dsyslog, event, cTimer::HasFlags(), INSTANT_REC_EPG_LOOKAHEAD, LOCK_SCHEDULES_READ, MAXWAIT4EPGINFO, cCondWait::SleepMs(), cTimer::StartTime(), cTimer::StopTime(), tfInstant, and timer.
Referenced by cRecordControl().
|
inline |
Definition at line 253 of file menu.h.
References instantId.
Referenced by cRecordControls::GetInstantId(), cRecordControls::Stop(), and cReplayControl::Stop().
bool cRecordControl::Process | ( | time_t | t | ) |
Definition at line 5531 of file menu.c.
References cReceiver::IsAttached(), cTimer::Matches(), recorder, cTimer::SetPending(), and timer.
Referenced by cRecordControls::Start().
void cRecordControl::Stop | ( | bool | ExecuteUserCommand = true | ) |
Definition at line 5509 of file menu.c.
References cDoneRecordings::Append(), DELETENULL(), device, DoneRecordingsPattern, cRecorder::Errors(), cTimer::File(), fileName, FOLDERDELIMCHAR, cTimer::HasFlags(), cRecordingUserCommand::InvokeCommand(), isyslog, cTimer::Matches(), cStatus::MsgRecording(), recorder, RUC_AFTERRECORDING, cTimer::SetRecording(), SetRecordingTimerId(), strgetlast(), tfActive, tfAvoid, timer, and cTimer::ToDescr().
Referenced by cRecordControls::ChannelDataModified(), cRecordControls::Stop(), cReplayControl::Stop(), and ~cRecordControl().
|
inline |
Definition at line 255 of file menu.h.
References timer.
Referenced by cRecordControl(), RecordingInUseMessage(), cRecordControls::Stop(), and cReplayControl::Stop().
|
private |
Definition at line 240 of file menu.h.
Referenced by cRecordControl(), Device(), and Stop().
|
private |
Definition at line 243 of file menu.h.
Referenced by cRecordControl(), and GetEvent().
|
private |
Definition at line 245 of file menu.h.
Referenced by cRecordControl(), FileName(), Stop(), and ~cRecordControl().
|
private |
Definition at line 244 of file menu.h.
Referenced by cRecordControl(), and InstantId().
|
private |
Definition at line 242 of file menu.h.
Referenced by cRecordControl(), Process(), and Stop().
|
private |
Definition at line 241 of file menu.h.
Referenced by cRecordControl(), GetEvent(), Process(), Stop(), and Timer().