vdr 2.6.1
Public Member Functions | Private Attributes | List of all members
cDvbPlayerControl Class Reference

#include <dvbplayer.h>

Public Member Functions

 cDvbPlayerControl (const char *FileName, bool PauseLive=false)
 
virtual ~cDvbPlayerControl ()
 
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)
 
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 ()
 
virtual void Hide (void)=0
 
virtual cOsdObjectGetInfo (void)
 
virtual const cRecordingGetRecording (void)
 
virtual cString GetHeader (void)
 
virtual void ClearEditingMarks (void)
 
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 (bool Hidden=false)
 
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 983 of file dvbplayer.c.

◆ ~cDvbPlayerControl()

cDvbPlayerControl::~cDvbPlayerControl ( )
virtual

Definition at line 988 of file dvbplayer.c.

References Stop().

Member Function Documentation

◆ Active()

bool cDvbPlayerControl::Active ( void  )

Definition at line 999 of file dvbplayer.c.

References cDvbPlayer::Active(), and player.

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

◆ Backward()

void cDvbPlayerControl::Backward ( void  )

Definition at line 1029 of file dvbplayer.c.

References cDvbPlayer::Backward(), and player.

Referenced by cReplayControl::ProcessKey().

◆ Forward()

void cDvbPlayerControl::Forward ( void  )

◆ GetFrameNumber()

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

Definition at line 1057 of file dvbplayer.c.

References cDvbPlayer::GetFrameNumber(), and 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 1011 of file dvbplayer.c.

References cDvbPlayer::Pause(), and player.

Referenced by cReplayControl::ProcessKey().

◆ Play()

void cDvbPlayerControl::Play ( void  )

◆ SetMarks()

void cDvbPlayerControl::SetMarks ( const cMarks Marks)

Definition at line 993 of file dvbplayer.c.

References player, and cDvbPlayer::SetMarks().

Referenced by cReplayControl::cReplayControl().

◆ SkipFrames()

int cDvbPlayerControl::SkipFrames ( int  Frames)

Definition at line 1041 of file dvbplayer.c.

References player, and cDvbPlayer::SkipFrames().

Referenced by cReplayControl::MarkMove().

◆ SkipSeconds()

void cDvbPlayerControl::SkipSeconds ( int  Seconds)

◆ Stop()

void cDvbPlayerControl::Stop ( void  )

Definition at line 1004 of file dvbplayer.c.

References player, and cControl::player.

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

Member Data Documentation

◆ player

cDvbPlayer* cDvbPlayerControl::player
private

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