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

#include <menu.h>

Static Public Member Functions

static bool Start (cTimer *Timer=NULL, bool Pause=false)
static void Stop (const char *InstantId)
static bool PauseLiveVideo (void)
static const char * GetInstantId (const char *LastInstantId)
static cRecordControlGetRecordControl (const char *FileName)
static cRecordControlGetRecordControl (const cTimer *Timer)
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 bool Start (cTimer *Timer=NULL, bool Pause=false)
static void Stop (const char *InstantId)
static bool PauseLiveVideo (void)
static const char * GetInstantId (const char *LastInstantId)
static cRecordControlGetRecordControl (const char *FileName)
static cRecordControlGetRecordControl (const cTimer *Timer)
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 240 of file include/vdr/menu.h.

Member Function Documentation

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

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

References state.

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

static void cRecordControls::ChangeState ( void  )
inlinestatic

Definition at line 257 of file menu.h.

References state.

void cRecordControls::ChannelDataModified ( cChannel Channel)
static

Definition at line 4845 of file menu.c.

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

Referenced by main().

static void cRecordControls::ChannelDataModified ( cChannel Channel)
static
const char * cRecordControls::GetInstantId ( const char *  LastInstantId)
static

Definition at line 4800 of file menu.c.

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

Referenced by cMenuMain::Update().

static const char* cRecordControls::GetInstantId ( const char *  LastInstantId)
static
static cRecordControl* cRecordControls::GetRecordControl ( const char *  FileName)
static
cRecordControl * cRecordControls::GetRecordControl ( const char *  FileName)
static
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.

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

References MAXRECORDCONTROLS, and RecordControls.

bool cRecordControls::PauseLiveVideo ( void  )
static
static bool cRecordControls::PauseLiveVideo ( void  )
static
static void cRecordControls::Process ( time_t  t)
static
void cRecordControls::Process ( time_t  t)
static
void cRecordControls::Shutdown ( void  )
static

Definition at line 4871 of file menu.c.

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

Referenced by main().

static void cRecordControls::Shutdown ( void  )
static
static bool cRecordControls::Start ( cTimer Timer = NULL,
bool  Pause = false 
)
static
bool cRecordControls::Start ( cTimer Timer = NULL,
bool  Pause = false 
)
static
static bool cRecordControls::StateChanged ( int &  State)
static
bool cRecordControls::StateChanged ( int &  State)
static

Definition at line 4878 of file menu.c.

References state.

Referenced by cMenuMain::Update().

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

Member Data Documentation

static cRecordControl * cRecordControls::RecordControls = { NULL }
staticprivate
static int cRecordControls::state = 0
staticprivate

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

Referenced by ChangeState(), and StateChanged().


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