cRecordControl Class Reference

#include <menu.h>

Collaboration diagram for cRecordControl:

Collaboration graph

List of all members.

Public Member Functions

 cRecordControl (cDevice *Device, cTimer *Timer=NULL, bool Pause=false)
virtual ~cRecordControl ()
bool Process (time_t t)
cDeviceDevice (void)
void Stop (void)
const char * InstantId (void)
const char * FileName (void)
cTimerTimer (void)

Private Member Functions

bool GetEvent (void)

Private Attributes

const cEventevent
char * instantId
char * fileName

Detailed Description

Definition at line 182 of file menu.h.

Constructor & Destructor Documentation

cRecordControl::cRecordControl ( cDevice Device,
cTimer Timer = NULL,
bool  Pause = false 

Definition at line 3493 of file menu.c.

References cListBase::Add(), cRecordings::AddByName(), cChannel::Apids(), cDevice::AttachReceiver(), cChannel::Ca(), cDevice::CardIndex(), cTimer::Channel(), cListBase::Del(), DELETENULL, device, cChannel::Dpids(), dsyslog, event, cTimer::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(), cTimers::SetModified(), cTimer::SetPending(), cReplayControl::SetRecording(), cTimer::SetRecording(), cChannel::Spids(), timer, Timers, cEvent::Title(), and cChannel::Vpid().

Here is the call graph for this function:

cRecordControl::~cRecordControl (  )  [virtual]

Definition at line 3563 of file menu.c.

References fileName, instantId, and Stop().

Here is the call graph for this function:

Member Function Documentation

bool cRecordControl::GetEvent ( void   )  [private]

Definition at line 3572 of file menu.c.

References cTimer::Channel(), dsyslog, event, cSchedule::GetEventAround(), cSchedules::GetSchedule(), cTimer::HasFlags(), INSTANT_REC_EPG_LOOKAHEAD, MAXWAIT4EPGINFO, cSchedules::Schedules(), cTimer::StartTime(), cTimer::StopTime(), tfInstant, and timer.

Referenced by cRecordControl().

Here is the call graph for this function:

bool cRecordControl::Process ( time_t  t  ) 

Definition at line 3611 of file menu.c.

References AssertFreeDiskSpace(), cTimer::Matches(), cTimer::Priority(), recorder, and timer.

Referenced by cRecordControls::Start().

Here is the call graph for this function:

cDevice* cRecordControl::Device ( void   )  [inline]

Definition at line 195 of file menu.h.

References device.

void cRecordControl::Stop ( void   ) 

Definition at line 3600 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(), and ~cRecordControl().

Here is the call graph for this function:

const char* cRecordControl::InstantId ( void   )  [inline]

Definition at line 197 of file menu.h.

References instantId.

Referenced by cRecordControls::GetInstantId(), and cRecordControls::Stop().

const char* cRecordControl::FileName ( void   )  [inline]

Definition at line 198 of file menu.h.

References fileName.

cTimer* cRecordControl::Timer ( void   )  [inline]

Definition at line 199 of file menu.h.

References timer.

Referenced by cSVDRP::CmdDELR(), cMenuRecordings::Delete(), and cRecordControls::Stop().

Member Data Documentation

cDevice* cRecordControl::device [private]

Definition at line 184 of file menu.h.

Referenced by cRecordControl(), Device(), and Stop().

cTimer* cRecordControl::timer [private]

Definition at line 185 of file menu.h.

Referenced by cRecordControl(), GetEvent(), Process(), Stop(), and Timer().

cRecorder* cRecordControl::recorder [private]

Definition at line 186 of file menu.h.

Referenced by cRecordControl(), Process(), and Stop().

const cEvent* cRecordControl::event [private]

Definition at line 187 of file menu.h.

Referenced by cRecordControl(), and GetEvent().

char* cRecordControl::instantId [private]

Definition at line 188 of file menu.h.

Referenced by cRecordControl(), InstantId(), and ~cRecordControl().

char* cRecordControl::fileName [private]

Definition at line 189 of file menu.h.

Referenced by cRecordControl(), FileName(), Stop(), and ~cRecordControl().

The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:23:04 2007 for VDR by  doxygen 1.5.3-20071008