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

#include <menu.h>

Public Member Functions

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

Private Member Functions

bool GetEvent (void)
 

Private Attributes

cDevicedevice
 
cTimertimer
 
cRecorderrecorder
 
const cEventevent
 
cString instantId
 
char * fileName
 

Detailed Description

Definition at line 238 of file menu.h.

Constructor & Destructor Documentation

◆ cRecordControl()

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

◆ ~cRecordControl()

cRecordControl::~cRecordControl ( )
virtual

Definition at line 5468 of file menu.c.

References fileName, and Stop().

Member Function Documentation

◆ Device()

cDevice * cRecordControl::Device ( void  )
inline

Definition at line 251 of file menu.h.

References device.

Referenced by cRecordControl().

◆ FileName()

const char * cRecordControl::FileName ( void  )
inline

Definition at line 254 of file menu.h.

References fileName.

◆ GetEvent()

bool cRecordControl::GetEvent ( void  )
private

◆ InstantId()

const char * cRecordControl::InstantId ( void  )
inline

Definition at line 253 of file menu.h.

References instantId.

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

◆ Process()

bool cRecordControl::Process ( time_t  t)

Definition at line 5522 of file menu.c.

References cReceiver::IsAttached(), cTimer::Matches(), recorder, cTimer::SetPending(), and timer.

Referenced by cRecordControls::Start().

◆ Stop()

void cRecordControl::Stop ( bool  ExecuteUserCommand = true)

◆ Timer()

cTimer * cRecordControl::Timer ( void  )
inline

Definition at line 255 of file menu.h.

References timer.

Referenced by cRecordControl(), RecordingInUseMessage(), cRecordControls::Stop(), and cReplayControl::Stop().

Member Data Documentation

◆ device

cDevice* cRecordControl::device
private

Definition at line 240 of file menu.h.

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

◆ event

const cEvent* cRecordControl::event
private

Definition at line 243 of file menu.h.

Referenced by cRecordControl(), and GetEvent().

◆ fileName

char* cRecordControl::fileName
private

Definition at line 245 of file menu.h.

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

◆ instantId

cString cRecordControl::instantId
private

Definition at line 244 of file menu.h.

Referenced by cRecordControl(), and InstantId().

◆ recorder

cRecorder* cRecordControl::recorder
private

Definition at line 242 of file menu.h.

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

◆ timer

cTimer* cRecordControl::timer
private

Definition at line 241 of file menu.h.

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


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