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

#include <menu.h>

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 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 258 of file include/vdr/menu.h.

Member Function Documentation

◆ Active() [1/2]

bool cRecordControls::Active ( void  )
static

◆ Active() [2/2]

static bool cRecordControls::Active ( void  )
static

◆ ChangeState() [1/2]

static void cRecordControls::ChangeState ( void  )
inlinestatic

Definition at line 277 of file include/vdr/menu.h.

References state.

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

◆ ChangeState() [2/2]

static void cRecordControls::ChangeState ( void  )
inlinestatic

Definition at line 277 of file menu.h.

References state.

◆ ChannelDataModified() [1/2]

void cRecordControls::ChannelDataModified ( const cChannel Channel)
static

◆ ChannelDataModified() [2/2]

static void cRecordControls::ChannelDataModified ( const cChannel Channel)
static

◆ GetInstantId() [1/2]

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

Definition at line 5647 of file menu.c.

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

Referenced by cMenuMain::Update().

◆ GetInstantId() [2/2]

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

◆ GetRecordControl() [1/4]

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

◆ GetRecordControl() [2/4]

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

◆ GetRecordControl() [3/4]

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 5671 of file menu.c.

References MAXRECORDCONTROLS, and RecordControls.

◆ GetRecordControl() [4/4]

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.

◆ PauseLiveVideo() [1/2]

bool cRecordControls::PauseLiveVideo ( void  )
static

◆ PauseLiveVideo() [2/2]

static bool cRecordControls::PauseLiveVideo ( void  )
static

◆ Process() [1/2]

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

◆ Process() [2/2]

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

◆ Shutdown() [1/2]

void cRecordControls::Shutdown ( void  )
static

Definition at line 5721 of file menu.c.

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

Referenced by main().

◆ Shutdown() [2/2]

static void cRecordControls::Shutdown ( void  )
static

◆ Start() [1/4]

bool cRecordControls::Start ( bool  Pause = false)
static

Definition at line 5593 of file menu.c.

References LOCK_TIMERS_WRITE, and Start().

◆ Start() [2/4]

static bool cRecordControls::Start ( bool  Pause = false)
static

◆ Start() [3/4]

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

◆ Start() [4/4]

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

◆ StateChanged() [1/2]

bool cRecordControls::StateChanged ( int &  State)
static

Definition at line 5728 of file menu.c.

References state.

Referenced by cMenuMain::Update().

◆ StateChanged() [2/2]

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

◆ Stop() [1/4]

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

◆ Stop() [2/4]

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

◆ Stop() [3/4]

void cRecordControls::Stop ( cTimer Timer)
static

Definition at line 5619 of file menu.c.

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

◆ Stop() [4/4]

static void cRecordControls::Stop ( cTimer Timer)
static

Member Data Documentation

◆ RecordControls

static cRecordControl * cRecordControls::RecordControls = { NULL }
staticprivate

◆ state

static int cRecordControls::state = 0
staticprivate

Definition at line 261 of file include/vdr/menu.h.

Referenced by ChangeState(), and StateChanged().


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