cControl Class Reference

#include <player.h>

Inheritance diagram for cControl:

Inheritance graph
[legend]
Collaboration diagram for cControl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Protected Attributes

cPlayerplayer

Private Attributes

bool attached
bool hidden

Static Private Attributes

static cControlcontrol = NULL
static cMutex mutex


Detailed Description

Definition at line 68 of file player.h.


Constructor & Destructor Documentation

cControl::cControl ( cPlayer Player,
bool  Hidden = false 
)

Definition at line 45 of file player.c.

References attached, hidden, and player.

cControl::~cControl (  )  [virtual]

Definition at line 52 of file player.c.

References control.


Member Function Documentation

virtual void cControl::Hide ( void   )  [pure virtual]

Implemented in cReplayControl, cPictureControl, and cTransferControl.

Referenced by main().

cOsdObject * cControl::GetInfo ( void   )  [virtual]

Reimplemented in cReplayControl.

Definition at line 58 of file player.c.

Referenced by main().

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

Reimplemented in cDvbPlayerControl.

Definition at line 81 of file player.h.

References cPlayer::GetIndex(), and player.

Here is the call graph for this function:

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

Reimplemented in cDvbPlayerControl.

Definition at line 82 of file player.h.

References cPlayer::GetReplayMode(), and player.

Here is the call graph for this function:

void cControl::Launch ( cControl Control  )  [static]

void cControl::Attach ( void   )  [static]

Definition at line 77 of file player.c.

References attached, cDevice::AttachPlayer(), control, cPlayer::IsAttached(), cSkins::Message(), mtError, mutex, player, cDevice::PrimaryDevice(), Shutdown(), Skins, and tr.

Referenced by cSVDRP::CmdPLAY(), main(), and cRecordControls::PauseLiveVideo().

Here is the call graph for this function:

void cControl::Shutdown ( void   )  [static]

cControl * cControl::Control ( void   )  [static]

Definition at line 63 of file player.c.

References control, hidden, and mutex.

Referenced by main(), and cMenuMain::Update().


Member Data Documentation

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

Definition at line 70 of file player.h.

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

cMutex cControl::mutex [static, private]

Definition at line 71 of file player.h.

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

bool cControl::attached [private]

Definition at line 72 of file player.h.

Referenced by Attach(), and cControl().

bool cControl::hidden [private]

Definition at line 73 of file player.h.

Referenced by cControl(), and Control().

cPlayer* cControl::player [protected]

Reimplemented in cDvbPlayerControl, and cPictureControl.

Definition at line 75 of file player.h.

Referenced by Attach(), cControl(), GetIndex(), and GetReplayMode().


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

Generated on Tue Nov 4 19:57:57 2008 for VDR by  doxygen 1.5.6