cRecordControls Class Reference

#include <menu.h>

Collaboration diagram for cRecordControls:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static bool Start (cTimer *Timer=NULL, bool Pause=false)
static void Stop (const char *InstantId)
static void Stop (cDevice *Device)
static bool PauseLiveVideo (void)
static const char * GetInstantId (const char *LastInstantId)
static cRecordControlGetRecordControl (const char *FileName)
static void Process (time_t t)
static void ChannelDataModified (cChannel *Channel)
static bool Active (void)
static void Shutdown (void)
static void ChangeState (void)
static bool StateChanged (int &State)

Static Private Attributes

static cRecordControlRecordControls [] = { NULL }
static int state = 0


Detailed Description

Definition at line 202 of file menu.h.


Member Function Documentation

bool cRecordControls::Start ( cTimer Timer = NULL,
bool  Pause = false 
) [static]

Definition at line 3624 of file menu.c.

References AssertFreeDiskSpace(), ChangeState(), cTimer::Channel(), Channels, cDevice::CurrentChannel(), cSetup::DefaultPriority, cDevice::DeviceNumber(), dsyslog, cThread::EmergencyExit(), esyslog, cChannels::GetByNumber(), cDevice::GetDevice(), isyslog, cTimer::Matches(), MAXRECORDCONTROLS, cSkins::Message(), MINFREEDISK, mtError, mtWarning, NODISKSPACEDELTA, cChannel::Number(), cSetup::PausePriority, cTimer::Pending(), cSetup::PrimaryLimit, cTimer::Priority(), cRecordControl::Process(), cTransferControl::ReceiverDevice(), RecordControls, cTimer::SetPending(), Setup, cControl::Shutdown(), Skins, Stop(), cDevice::SwitchChannel(), cTimer::ToDescr(), tr, and VideoDiskSpace().

Referenced by main(), and PauseLiveVideo().

Here is the call graph for this function:

void cRecordControls::Stop ( const char *  InstantId  )  [static]

Definition at line 3681 of file menu.c.

References ChangeState(), cListBase::Del(), cRecordControl::InstantId(), isyslog, MAXRECORDCONTROLS, RecordControls, cTimers::SetModified(), cRecordControl::Stop(), cRecordControl::Timer(), Timers, and cTimer::ToDescr().

Referenced by cMenuMain::ProcessKey(), and Start().

Here is the call graph for this function:

void cRecordControls::Stop ( cDevice Device  )  [static]

Definition at line 3701 of file menu.c.

References cDevice::CardIndex(), ChangeState(), isyslog, MAXRECORDCONTROLS, RecordControls, and cRecordControl::Stop().

Here is the call graph for this function:

bool cRecordControls::PauseLiveVideo ( void   )  [static]

Definition at line 3714 of file menu.c.

References cControl::Attach(), kPause, cControl::Launch(), cSkins::Message(), mtStatus, cReplayControl::ProcessKey(), cReplayControl::SetRecording(), Skins, Start(), and tr.

Referenced by main().

Here is the call graph for this function:

const char * cRecordControls::GetInstantId ( const char *  LastInstantId  )  [static]

Definition at line 3732 of file menu.c.

References cRecordControl::InstantId(), MAXRECORDCONTROLS, and RecordControls.

Referenced by cMenuMain::Update().

Here is the call graph for this function:

cRecordControl * cRecordControls::GetRecordControl ( const char *  FileName  )  [static]

Definition at line 3745 of file menu.c.

References MAXRECORDCONTROLS, and RecordControls.

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

void cRecordControls::Process ( time_t  t  )  [static]

Definition at line 3754 of file menu.c.

References ChangeState(), DELETENULL, MAXRECORDCONTROLS, and RecordControls.

Referenced by cMenuRecordings::Delete(), cMenuTimers::Delete(), and main().

Here is the call graph for this function:

void cRecordControls::ChannelDataModified ( cChannel Channel  )  [static]

Definition at line 3766 of file menu.c.

References ChangeState(), isyslog, MAXRECORDCONTROLS, cChannel::Number(), RecordControls, and cRecordControl::Stop().

Referenced by main().

Here is the call graph for this function:

bool cRecordControls::Active ( void   )  [static]

Definition at line 3783 of file menu.c.

References MAXRECORDCONTROLS, and RecordControls.

Referenced by main(), cMenuSetup::Restart(), and cSkinSTTNGDisplayChannel::SetChannel().

void cRecordControls::Shutdown ( void   )  [static]

Definition at line 3792 of file menu.c.

References ChangeState(), DELETENULL, MAXRECORDCONTROLS, and RecordControls.

Referenced by main().

Here is the call graph for this function:

static void cRecordControls::ChangeState ( void   )  [inline, static]

Definition at line 217 of file menu.h.

References state.

Referenced by ChannelDataModified(), Process(), Shutdown(), Start(), and Stop().

bool cRecordControls::StateChanged ( int &  State  )  [static]

Definition at line 3799 of file menu.c.

References state.

Referenced by cMenuMain::Update().


Member Data Documentation

cRecordControl * cRecordControls::RecordControls = { NULL } [static, private]

Definition at line 204 of file menu.h.

Referenced by Active(), ChannelDataModified(), GetInstantId(), GetRecordControl(), Process(), Shutdown(), Start(), and Stop().

int cRecordControls::state = 0 [static, private]

Definition at line 205 of file menu.h.

Referenced by ChangeState(), and StateChanged().


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