vdr
1.7.27
|
#include <player.h>
Public Member Functions | |
cControl (cPlayer *Player, bool Hidden=false) | |
virtual | ~cControl () |
virtual void | Hide (void)=0 |
virtual cOsdObject * | GetInfo (void) |
double | FramesPerSecond (void) |
bool | GetIndex (int &Current, int &Total, bool SnapToIFrame=false) |
bool | GetReplayMode (bool &Play, bool &Forward, int &Speed) |
cControl (cPlayer *Player, bool Hidden=false) | |
virtual | ~cControl () |
virtual void | Hide (void)=0 |
virtual cOsdObject * | GetInfo (void) |
double | FramesPerSecond (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 cControl * | Control (void) |
static void | Launch (cControl *Control) |
static void | Attach (void) |
static void | Shutdown (void) |
static cControl * | Control (void) |
Protected Attributes | |
cPlayer * | player |
Private Attributes | |
bool | attached |
bool | hidden |
Static Private Attributes | |
static cControl * | control = NULL |
static cMutex | mutex |
Definition at line 76 of file include/vdr/player.h.
cControl::cControl | ( | cPlayer * | Player, |
bool | Hidden = false |
||
) |
cControl::~cControl | ( | ) | [virtual] |
cControl::cControl | ( | cPlayer * | Player, |
bool | Hidden = false |
||
) |
virtual cControl::~cControl | ( | ) | [virtual] |
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().
static void cControl::Attach | ( | void | ) | [static] |
cControl * cControl::Control | ( | void | ) | [static] |
static cControl* cControl::Control | ( | void | ) | [static] |
double cControl::FramesPerSecond | ( | void | ) | [inline] |
Definition at line 89 of file include/vdr/player.h.
References cPlayer::FramesPerSecond(), and player.
Referenced by cReplayControl::EditTest(), cReplayControl::MarkJump(), cReplayControl::ShowProgress(), and cReplayControl::TimeSearchProcess().
double cControl::FramesPerSecond | ( | void | ) | [inline] |
Definition at line 89 of file player.h.
References cPlayer::FramesPerSecond(), and player.
bool cControl::GetIndex | ( | int & | Current, |
int & | Total, | ||
bool | SnapToIFrame = false |
||
) | [inline] |
Reimplemented in cDvbPlayerControl, and cDvbPlayerControl.
Definition at line 90 of file include/vdr/player.h.
References cPlayer::GetIndex(), and player.
bool cControl::GetIndex | ( | int & | Current, |
int & | Total, | ||
bool | SnapToIFrame = false |
||
) | [inline] |
Reimplemented in cDvbPlayerControl, and cDvbPlayerControl.
Definition at line 90 of file player.h.
References cPlayer::GetIndex(), and player.
virtual cOsdObject* cControl::GetInfo | ( | void | ) | [virtual] |
Reimplemented in cReplayControl, and cReplayControl.
cOsdObject * cControl::GetInfo | ( | void | ) | [virtual] |
Reimplemented in cReplayControl, and cReplayControl.
Definition at line 58 of file player.c.
Referenced by main().
bool cControl::GetReplayMode | ( | bool & | Play, |
bool & | Forward, | ||
int & | Speed | ||
) | [inline] |
Reimplemented in cDvbPlayerControl, and cDvbPlayerControl.
Definition at line 91 of file include/vdr/player.h.
References cPlayer::GetReplayMode(), and player.
bool cControl::GetReplayMode | ( | bool & | Play, |
bool & | Forward, | ||
int & | Speed | ||
) | [inline] |
Reimplemented in cDvbPlayerControl, and cDvbPlayerControl.
Definition at line 91 of file player.h.
References cPlayer::GetReplayMode(), and player.
virtual void cControl::Hide | ( | void | ) | [pure virtual] |
Implemented in cReplayControl, cReplayControl, cPictureControl, cTransferControl, and cTransferControl.
Referenced by main().
virtual void cControl::Hide | ( | void | ) | [pure virtual] |
Implemented in cReplayControl, cReplayControl, cPictureControl, cTransferControl, and cTransferControl.
void cControl::Launch | ( | cControl * | Control | ) | [static] |
Definition at line 69 of file player.c.
References control, Control(), and mutex.
Referenced by cSVDRP::CmdPLAY(), main(), cRecordControls::PauseLiveVideo(), cPictureMenu::SelectItem(), cDevice::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
static void cControl::Launch | ( | cControl * | Control | ) | [static] |
void cControl::Shutdown | ( | void | ) | [static] |
Definition at line 90 of file player.c.
References control, and mutex.
Referenced by Attach(), cSVDRP::CmdPLAY(), cMenuRecordings::Delete(), main(), and cCutter::Stop().
static void cControl::Shutdown | ( | void | ) | [static] |
bool cControl::attached [private] |
Definition at line 80 of file include/vdr/player.h.
Referenced by Attach(), and cControl().
static cControl * cControl::control = NULL [static, private] |
Definition at line 78 of file include/vdr/player.h.
Referenced by Attach(), Control(), Launch(), Shutdown(), and ~cControl().
bool cControl::hidden [private] |
Definition at line 81 of file include/vdr/player.h.
Referenced by cControl(), and Control().
static cMutex cControl::mutex [static, private] |
Definition at line 79 of file include/vdr/player.h.
Referenced by Attach(), Control(), Launch(), and Shutdown().
cPlayer * cControl::player [protected] |
Reimplemented in cPictureControl, and cDvbPlayerControl.
Definition at line 83 of file include/vdr/player.h.
Referenced by Attach(), cControl(), FramesPerSecond(), GetIndex(), and GetReplayMode().