vdr 2.7.9
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 cErrorsGetErrors (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 cOsdObjectGetInfo (void)
 
virtual const cRecordingGetRecording (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

cDvbPlayerplayer
 

Additional Inherited Members

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

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 1000 of file dvbplayer.c.

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

Referenced by cReplayControl::cReplayControl().

◆ ~cDvbPlayerControl()

cDvbPlayerControl::~cDvbPlayerControl ( )
overridevirtual

Definition at line 1007 of file dvbplayer.c.

References Stop().

Member Function Documentation

◆ Active()

bool cDvbPlayerControl::Active ( void )

Definition at line 1018 of file dvbplayer.c.

References player.

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

◆ Backward()

void cDvbPlayerControl::Backward ( void )

Definition at line 1048 of file dvbplayer.c.

References player.

Referenced by cReplayControl::ProcessKey().

◆ Forward()

◆ GetErrors()

const cErrors * cDvbPlayerControl::GetErrors ( void )

Definition at line 1067 of file dvbplayer.c.

References player.

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

◆ GetFrameNumber()

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

Definition at line 1083 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 1030 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 1012 of file dvbplayer.c.

References player.

Referenced by cReplayControl::cReplayControl().

◆ SkipFrames()

int cDvbPlayerControl::SkipFrames ( int Frames)

Definition at line 1060 of file dvbplayer.c.

References player.

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

◆ SkipSeconds()

void cDvbPlayerControl::SkipSeconds ( int Seconds)

Definition at line 1054 of file dvbplayer.c.

References player.

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

◆ Stop()

void cDvbPlayerControl::Stop ( void )

Definition at line 1023 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: