vdr 2.8.3
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)
cDevice * Device (void)
void Stop (bool ExecuteUserCommand=true)
const char * InstantId (void)
const char * FileName (void)
cTimer * Timer (void)

Private Member Functions

bool GetEvent (void)

Private Attributes

cDevice * device
cTimer * timer
cRecorder * recorder
const cEvent * event
cString instantId
char * fileName

Detailed Description

Definition at line 250 of file menu.h.

Constructor & Destructor Documentation

◆ cRecordControl()

◆ ~cRecordControl()

cRecordControl::~cRecordControl ( )
virtual

Definition at line 5714 of file menu.c.

References fileName, and Stop().

Member Function Documentation

◆ Device()

cDevice * cRecordControl::Device ( void )
inline

Definition at line 263 of file menu.h.

References device.

Referenced by cRecordControl().

◆ FileName()

const char * cRecordControl::FileName ( void )
inline

Definition at line 266 of file menu.h.

References fileName.

◆ GetEvent()

◆ InstantId()

const char * cRecordControl::InstantId ( void )
inline

Definition at line 265 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 5769 of file menu.c.

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

Referenced by cRecordControls::Start().

◆ Stop()

◆ Timer()

cTimer * cRecordControl::Timer ( void )
inline

Definition at line 267 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 252 of file menu.h.

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

◆ event

const cEvent* cRecordControl::event
private

Definition at line 255 of file menu.h.

Referenced by cRecordControl(), and GetEvent().

◆ fileName

char* cRecordControl::fileName
private

Definition at line 257 of file menu.h.

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

◆ instantId

cString cRecordControl::instantId
private

Definition at line 256 of file menu.h.

Referenced by cRecordControl(), and InstantId().

◆ recorder

cRecorder* cRecordControl::recorder
private

Definition at line 254 of file menu.h.

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

◆ timer

cTimer* cRecordControl::timer
private

Definition at line 253 of file menu.h.

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


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