vdr  2.4.0
Static Public Member Functions | Static Private Attributes | List of all members
cRecordControls Class Reference

#include <menu.h>

Collaboration diagram for cRecordControls:
[legend]

Static Public Member Functions

static bool Start (cTimers *Timers, cTimer *Timer, bool Pause=false)
 
static bool Start (bool Pause=false)
 
static void Stop (const char *InstantId)
 
static void Stop (cTimer *Timer)
 
static bool PauseLiveVideo (void)
 
static const char * GetInstantId (const char *LastInstantId)
 
static cRecordControlGetRecordControl (const char *FileName)
 
static cRecordControlGetRecordControl (const cTimer *Timer)
 
static bool Process (cTimers *Timers, time_t t)
 
static void ChannelDataModified (const 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 256 of file menu.h.

Member Function Documentation

bool cRecordControls::Active ( void  )
static
static void cRecordControls::ChangeState ( void  )
inlinestatic

Definition at line 275 of file menu.h.

void cRecordControls::ChannelDataModified ( const cChannel Channel)
static

Definition at line 5550 of file menu.c.

References isyslog, MAXRECORDCONTROLS, cChannel::Name(), and cChannel::Number().

Referenced by main().

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

Definition at line 5502 of file menu.c.

References MAXRECORDCONTROLS.

Referenced by cMenuMain::Update().

cRecordControl * cRecordControls::GetRecordControl ( const char *  FileName)
static
cRecordControl * cRecordControls::GetRecordControl ( const cTimer Timer)
static

Returns the cRecordControl for the given Timer.

If there is no cRecordControl for Timer, NULL is returned.

Definition at line 5526 of file menu.c.

References MAXRECORDCONTROLS.

bool cRecordControls::PauseLiveVideo ( void  )
static

Definition at line 5487 of file menu.c.

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

Referenced by main().

bool cRecordControls::Process ( cTimers Timers,
time_t  t 
)
static
void cRecordControls::Shutdown ( void  )
static

Definition at line 5576 of file menu.c.

References DELETENULL(), and MAXRECORDCONTROLS.

Referenced by main().

bool cRecordControls::Start ( cTimers Timers,
cTimer Timer,
bool  Pause = false 
)
static
bool cRecordControls::Start ( bool  Pause = false)
static

Definition at line 5448 of file menu.c.

References LOCK_TIMERS_WRITE.

bool cRecordControls::StateChanged ( int &  State)
static

Definition at line 5583 of file menu.c.

Referenced by cMenuMain::Update().

void cRecordControls::Stop ( const char *  InstantId)
static
void cRecordControls::Stop ( cTimer Timer)
static

Definition at line 5474 of file menu.c.

References DELETENULL(), and MAXRECORDCONTROLS.

Member Data Documentation

cRecordControl * cRecordControls::RecordControls = { NULL }
staticprivate

Definition at line 258 of file menu.h.

Referenced by cRecordControl::Process().

int cRecordControls::state = 0
staticprivate

Definition at line 259 of file menu.h.

Referenced by cRecordControl::Process().


The documentation for this class was generated from the following files: