Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cControl Class Reference

#include <player.h>

Inheritance diagram for cControl:

Inheritance graph
[legend]
Collaboration diagram for cControl:

Collaboration graph
[legend]

Detailed Description

Player control.

Definition at line 105 of file player.h.

Public Methods

 cControl (cPlayer *Player, bool Hidden=false)
virtual ~cControl ()
virtual void Hide (void)=0
bool GetIndex (int &Current, int &Total, bool SnapToIFrame=false)
bool GetReplayMode (bool &Play, bool &Forward, int &Speed)

Static Public Methods

void Launch (cControl *Control)
void Attach (void)
void Shutdown (void)
cControl * Control (void)

Protected Attributes

cPlayerplayer

Private Attributes

bool attached
bool hidden

Static Private Attributes

cControl * control = NULL


Constructor & Destructor Documentation

cControl::cControl cPlayer   Player,
bool    Hidden = false
 

Definition at line 53 of file player.c.

References attached, hidden, and player.

cControl::~cControl   [virtual]
 

Definition at line 60 of file player.c.

References control.


Member Function Documentation

void cControl::Attach void    [static]
 

Definition at line 77 of file player.c.

References attached, cDevice::AttachPlayer(), control, cPlayer::IsAttached(), player, cDevice::PrimaryDevice(), Shutdown(), and tr.

Referenced by main().

cControl * cControl::Control void    [static]
 

Definition at line 66 of file player.c.

References control, and hidden.

Referenced by main().

bool cControl::GetIndex int &    Current,
int &    Total,
bool    SnapToIFrame = false
[inline]
 

Reimplemented in cDvbPlayerControl.

Definition at line 116 of file player.h.

References cPlayer::GetIndex().

bool cControl::GetReplayMode bool &    Play,
bool &    Forward,
int &    Speed
[inline]
 

Reimplemented in cDvbPlayerControl.

Definition at line 117 of file player.h.

References cPlayer::GetReplayMode().

virtual void cControl::Hide void    [pure virtual]
 

Implemented in cReplayControl, and cTransferControl.

Referenced by main().

void cControl::Launch cControl *    Control [static]
 

Definition at line 71 of file player.c.

References control.

Referenced by main(), cDevice::SetChannel(), and cDvbDevice::SetChannelDevice().

void cControl::Shutdown void    [static]
 

Definition at line 89 of file player.c.

References control.

Referenced by Attach(), main(), and cDevice::StopReplay().


Field Documentation

bool cControl::attached [private]
 

Definition at line 108 of file player.h.

Referenced by Attach(), and cControl().

cControl * cControl::control = NULL [static, private]
 

Definition at line 51 of file player.c.

Referenced by Attach(), Control(), Launch(), Shutdown(), and ~cControl().

bool cControl::hidden [private]
 

Definition at line 109 of file player.h.

Referenced by cControl(), and Control().

cPlayer* cControl::player [protected]
 

Reimplemented in cDvbPlayerControl.

Definition at line 111 of file player.h.

Referenced by Attach(), and cControl().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:05 2003 for VDR by doxygen1.3-rc2