vdr
1.7.27
|
#include <menu.h>
Public Member Functions | |
cRecordControl (cDevice *Device, 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) |
cRecordControl (cDevice *Device, 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) |
bool | GetEvent (void) |
Private Attributes | |
cDevice * | device |
cTimer * | timer |
cRecorder * | recorder |
const cEvent * | event |
cString | instantId |
char * | fileName |
Definition at line 218 of file include/vdr/menu.h.
cRecordControl::cRecordControl | ( | cDevice * | Device, |
cTimer * | Timer = NULL , |
||
bool | Pause = false |
||
) |
Definition at line 4561 of file menu.c.
References cTimers::Add(), cRecordings::AddByName(), cDevice::AttachReceiver(), cDevice::CardIndex(), cTimer::Channel(), DEFERTIMER, cTimers::Del(), DELETENULL(), device, Device(), dsyslog, cTimer::Event(), event, fileName, GetEvent(), cRecordControls::GetRecordControl(), instantId, cRecordingUserCommand::InvokeCommand(), isyslog, cReplayControl::LastReplayed(), MakeDirs(), cStatus::MsgRecording(), cChannel::Name(), cDevice::NumDevices(), cTimer::OnOff(), cDevice::PrimaryDevice(), cTimer::Priority(), recorder, Recordings, RUC_BEFORERECORDING, cSchedules::Schedules(), cTimer::SetDeferred(), cTimers::SetModified(), cTimer::SetPending(), cTimer::SetRecording(), cReplayControl::SetRecording(), cString::sprintf(), timer, Timer(), Timers, and cEvent::Title().
cRecordControl::~cRecordControl | ( | ) | [virtual] |
cRecordControl::cRecordControl | ( | cDevice * | Device, |
cTimer * | Timer = NULL , |
||
bool | Pause = false |
||
) |
virtual cRecordControl::~cRecordControl | ( | ) | [virtual] |
cDevice* cRecordControl::Device | ( | void | ) | [inline] |
Definition at line 231 of file include/vdr/menu.h.
References device.
Referenced by cRecordControl().
cDevice* cRecordControl::Device | ( | void | ) | [inline] |
const char* cRecordControl::FileName | ( | void | ) | [inline] |
Definition at line 234 of file include/vdr/menu.h.
References fileName.
const char* cRecordControl::FileName | ( | void | ) | [inline] |
bool cRecordControl::GetEvent | ( | void | ) | [private] |
bool cRecordControl::GetEvent | ( | void | ) | [private] |
Definition at line 4640 of file menu.c.
References cTimer::Channel(), dsyslog, event, cSchedule::GetEventAround(), cSchedules::GetSchedule(), cTimer::HasFlags(), INSTANT_REC_EPG_LOOKAHEAD, MAXWAIT4EPGINFO, cSchedules::Schedules(), cCondWait::SleepMs(), cTimer::StartTime(), cTimer::StopTime(), tfInstant, and timer.
Referenced by cRecordControl().
const char* cRecordControl::InstantId | ( | void | ) | [inline] |
Definition at line 233 of file include/vdr/menu.h.
References instantId.
Referenced by cRecordControls::GetInstantId(), cReplayControl::ProcessKey(), cRecordControls::Stop(), and cReplayControl::Stop().
const char* cRecordControl::InstantId | ( | void | ) | [inline] |
bool cRecordControl::Process | ( | time_t | t | ) |
bool cRecordControl::Process | ( | time_t | t | ) |
Definition at line 4680 of file menu.c.
References AssertFreeDiskSpace(), cReceiver::IsAttached(), cTimer::Matches(), cTimer::Priority(), recorder, cTimer::SetPending(), and timer.
Referenced by cRecordControls::Start().
void cRecordControl::Stop | ( | bool | ExecuteUserCommand = true | ) |
void cRecordControl::Stop | ( | bool | ExecuteUserCommand = true | ) |
Definition at line 4668 of file menu.c.
References DELETENULL(), device, fileName, cRecordingUserCommand::InvokeCommand(), cStatus::MsgRecording(), recorder, RUC_AFTERRECORDING, cTimer::SetRecording(), and timer.
Referenced by cRecordControls::ChannelDataModified(), cRecordControls::Stop(), cReplayControl::Stop(), and ~cRecordControl().
cTimer* cRecordControl::Timer | ( | void | ) | [inline] |
cTimer* cRecordControl::Timer | ( | void | ) | [inline] |
Definition at line 235 of file include/vdr/menu.h.
References timer.
Referenced by cSVDRP::CmdDELR(), cRecordControl(), cMenuRecordings::Delete(), cRecordControls::Stop(), and cReplayControl::Stop().
cDevice * cRecordControl::device [private] |
Definition at line 220 of file include/vdr/menu.h.
Referenced by cRecordControl(), Device(), and Stop().
const cEvent * cRecordControl::event [private] |
Definition at line 223 of file include/vdr/menu.h.
Referenced by cRecordControl(), and GetEvent().
char * cRecordControl::fileName [private] |
Definition at line 225 of file include/vdr/menu.h.
Referenced by cRecordControl(), FileName(), Stop(), and ~cRecordControl().
cString cRecordControl::instantId [private] |
Definition at line 224 of file include/vdr/menu.h.
Referenced by cRecordControl(), and InstantId().
cRecorder * cRecordControl::recorder [private] |
Definition at line 222 of file include/vdr/menu.h.
Referenced by cRecordControl(), Process(), and Stop().
cTimer * cRecordControl::timer [private] |
Definition at line 221 of file include/vdr/menu.h.
Referenced by cRecordControl(), GetEvent(), Process(), Stop(), and Timer().