vdr
2.2.0
|
#include <player.h>
Public Member Functions | |
cControl (cPlayer *Player, bool Hidden=false) | |
virtual | ~cControl () |
virtual void | Hide (void)=0 |
virtual cOsdObject * | GetInfo (void) |
virtual const cRecording * | GetRecording (void) |
virtual cString | GetHeader (void) |
double | FramesPerSecond (void) |
bool | GetIndex (int &Current, int &Total, bool SnapToIFrame=false) |
bool | GetReplayMode (bool &Play, bool &Forward, int &Speed) |
![]() | |
cOsdObject (bool FastResponse=false) | |
virtual | ~cOsdObject () |
virtual bool | NeedsFastResponse (void) |
bool | IsMenu (void) const |
virtual void | Show (void) |
virtual eOSState | ProcessKey (eKeys Key) |
Static Public Member Functions | |
static void | Launch (cControl *Control) |
static void | Attach (void) |
static void | Shutdown (void) |
static cControl * | Control (bool Hidden=false) |
Protected Attributes | |
cPlayer * | player |
Private Attributes | |
bool | attached |
bool | hidden |
Static Private Attributes | |
static cControl * | control = NULL |
static cMutex | mutex |
Additional Inherited Members | |
![]() | |
void | SetNeedsFastResponse (bool NeedsFastResponse) |
cControl::cControl | ( | cPlayer * | Player, |
bool | Hidden = false |
||
) |
|
static |
Definition at line 87 of file player.c.
References cDevice::AttachPlayer(), cSkins::Message(), mtError, cDevice::PrimaryDevice(), Skins, and tr.
Referenced by cSVDRP::CmdPLAY(), main(), and cRecordControls::PauseLiveVideo().
|
static |
Returns the current replay control (if any) in case it is currently visible.
If Hidden is true, the control will be returned even if it is currently hidden.
Definition at line 73 of file player.c.
Referenced by cSkinLCARSDisplayMenu::Flush(), main(), and cMenuMain::Update().
|
inline |
Definition at line 101 of file player.h.
References cPlayer::FramesPerSecond().
Referenced by cReplayControl::EditTest(), cReplayControl::MarkJump(), cReplayControl::ShowProgress(), and cReplayControl::TimeSearchProcess().
|
virtual |
This can be used by players that don't play a cRecording, but rather do something completely different.
The resulting string may be used by skins as a last resort, in case they want to display the state of the current player. The return value is expected to be a short, single line string. The default implementation returns an empty string.
Reimplemented in cPictureControl.
Definition at line 68 of file player.c.
Referenced by cSkinLCARSDisplayMenu::DrawPlay().
|
inline |
Definition at line 102 of file player.h.
References cPlayer::GetIndex().
Referenced by cSkinLCARSDisplayMenu::DrawPlay().
|
virtual |
Returns an OSD object that displays information about the currently played programme.
If no such information is available, NULL will be returned.
Reimplemented in cReplayControl.
Definition at line 58 of file player.c.
Referenced by main().
|
virtual |
Returns the cRecording that is currently being replayed, or NULL if this player is not playing a cRecording.
Reimplemented in cReplayControl.
Definition at line 63 of file player.c.
Referenced by cSkinLCARSDisplayMenu::DrawPlay().
|
inline |
Definition at line 103 of file player.h.
References cPlayer::GetReplayMode().
|
pure virtual |
Implemented in cReplayControl, cPictureControl, and cTransferControl.
Referenced by main().
|
static |
Definition at line 79 of file player.c.
Referenced by cSVDRP::CmdPLAY(), main(), cRecordControls::PauseLiveVideo(), cPictureMenu::SelectItem(), cDevice::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
|
static |
Definition at line 100 of file player.c.
Referenced by cMenuSetupCAM::Activate(), cSVDRP::CmdPLAY(), cMenuRecordings::Delete(), main(), cCutter::Stop(), cDevice::StopReplay(), and cDevice::SwitchChannel().
|
staticprivate |
Definition at line 78 of file player.h.
Referenced by cPlayer::Detach().
|
staticprivate |
Definition at line 79 of file player.h.
Referenced by cPlayer::Detach().