vdr 2.8.2
cDvbPlayerControl Class Reference

#include <dvbplayer.h>

Public Member Functions

 cDvbPlayerControl (const char *FileName, bool PauseLive=false)
virtual ~cDvbPlayerControl () override
void SetMarks (const cMarks *Marks)
bool Active (void)
void Stop (void)
void Pause (void)
void Play (void)
void Forward (void)
void Backward (void)
int SkipFrames (int Frames)
void SkipSeconds (int Seconds)
const cErrors * GetErrors (void)
bool GetIndex (int &Current, int &Total, bool SnapToIFrame=false)
bool GetFrameNumber (int &Current, int &Total)
bool GetReplayMode (bool &Play, bool &Forward, int &Speed)
void Goto (int Index, bool Still=false)
Public Member Functions inherited from cControl
 cControl (cPlayer *Player, bool Hidden=false)
virtual ~cControl () override
virtual void Hide (void)=0
virtual cOsdObject * GetInfo (void)
virtual const cRecording * GetRecording (void)
virtual cString GetHeader (void)
virtual void ClearEditingMarks (void)
void SetPlayer (cPlayer *Player)
double FramesPerSecond (void) const
bool GetIndex (int &Current, int &Total, bool SnapToIFrame=false) const
bool GetFrameNumber (int &Current, int &Total) const
bool GetReplayMode (bool &Play, bool &Forward, int &Speed) const
Public Member Functions inherited from cOsdObject
 cOsdObject (bool FastResponse=false)
virtual ~cOsdObject ()
virtual bool NeedsFastResponse (void)
bool IsMenu (void) const
virtual void Show (void)
virtual eOSState ProcessKey (eKeys Key)

Private Attributes

cDvbPlayer * player

Additional Inherited Members

Static Public Member Functions inherited from cControl
static void Launch (cControl *Control)
static void Attach (void)
static void Shutdown (void)
static cControl * Control (cMutexLock &MutexLock, bool Hidden=false)
Protected Member Functions inherited from cOsdObject
void SetNeedsFastResponse (bool NeedsFastResponse)
Protected Attributes inherited from cControl
cPlayer * player

Detailed Description

Definition at line 19 of file dvbplayer.h.

Constructor & Destructor Documentation

◆ cDvbPlayerControl()

cDvbPlayerControl::cDvbPlayerControl ( const char * FileName,
bool PauseLive = false )

Definition at line 1010 of file dvbplayer.c.

References cControl::cControl(), player, and cControl::SetPlayer().

Referenced by cReplayControl::cReplayControl().

◆ ~cDvbPlayerControl()

cDvbPlayerControl::~cDvbPlayerControl ( )
overridevirtual

Definition at line 1017 of file dvbplayer.c.

References Stop().

Member Function Documentation

◆ Active()

bool cDvbPlayerControl::Active ( void )

Definition at line 1028 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ProcessKey(), and cReplayControl::Stop().

◆ Backward()

void cDvbPlayerControl::Backward ( void )

Definition at line 1058 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ProcessKey().

◆ Forward()

◆ GetErrors()

const cErrors * cDvbPlayerControl::GetErrors ( void )

Definition at line 1077 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ErrorJump(), and cReplayControl::ShowProgress().

◆ GetFrameNumber()

bool cDvbPlayerControl::GetFrameNumber ( int & Current,
int & Total )

Definition at line 1093 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ShowProgress().

◆ GetIndex()

bool cDvbPlayerControl::GetIndex ( int & Current,
int & Total,
bool SnapToIFrame = false )

◆ GetReplayMode()

bool cDvbPlayerControl::GetReplayMode ( bool & Play,
bool & Forward,
int & Speed )

◆ Goto()

void cDvbPlayerControl::Goto ( int Index,
bool Still = false )

◆ Pause()

void cDvbPlayerControl::Pause ( void )

Definition at line 1040 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ProcessKey().

◆ Play()

void cDvbPlayerControl::Play ( void )

◆ SetMarks()

void cDvbPlayerControl::SetMarks ( const cMarks * Marks)

Definition at line 1022 of file dvbplayer.c.

References player.

Referenced by cReplayControl::cReplayControl().

◆ SkipFrames()

int cDvbPlayerControl::SkipFrames ( int Frames)

Definition at line 1070 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ErrorJump(), and cReplayControl::MarkMove().

◆ SkipSeconds()

void cDvbPlayerControl::SkipSeconds ( int Seconds)

Definition at line 1064 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ProcessKey(), and cReplayControl::TimeSearchProcess().

◆ Stop()

void cDvbPlayerControl::Stop ( void )

Definition at line 1033 of file dvbplayer.c.

References cControl::player, and player.

Referenced by cReplayControl::Stop(), and ~cDvbPlayerControl().

Member Data Documentation

◆ player


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