vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
cSoftHdControl Class Reference

#include <mediaplayer.h>

Public Member Functions

 cSoftHdControl (const char *, cSoftHdDevice *)
 Create a new control interface and corresponding player.
 
virtual ~cSoftHdControl ()
 
virtual void Hide (void)
 Close the replay OSD.
 
virtual eOSState ProcessKey (eKeys)
 Handle a key event.
 
void Close (void)
 

Static Public Member Functions

static cSoftHdControlControl ()
 
static cSoftHdPlayerPlayer ()
 

Private Member Functions

void ShowProgress ()
 Open the replay OSD.
 

Private Attributes

cSkinDisplayReplay * m_pOsd = nullptr
 
cSoftHdDevicem_pDevice
 
bool m_closing = false
 

Static Private Attributes

static cSoftHdControlm_pControl = NULL
 
static cSoftHdPlayerm_pPlayer = NULL
 

Detailed Description

Definition at line 108 of file mediaplayer.h.

Constructor & Destructor Documentation

◆ cSoftHdControl()

cSoftHdControl::cSoftHdControl ( const char *  url,
cSoftHdDevice device 
)

Create a new control interface and corresponding player.

Parameters
urlfile or playlist to be played
devicepointer to device

Definition at line 369 of file mediaplayer.cpp.

References m_pControl.

◆ ~cSoftHdControl()

cSoftHdControl::~cSoftHdControl ( )
virtual

Definition at line 376 of file mediaplayer.cpp.

References m_pControl, and m_pPlayer.

Member Function Documentation

◆ Close()

void cSoftHdControl::Close ( void  )
inline

Definition at line 118 of file mediaplayer.h.

References m_closing.

Referenced by cSoftHdPlayer::Action().

◆ Control()

static cSoftHdControl * cSoftHdControl::Control ( )
inlinestatic

◆ Hide()

void cSoftHdControl::Hide ( void  )
virtual

Close the replay OSD.

Definition at line 386 of file mediaplayer.cpp.

References L_MEDIA, LOGDEBUG2, and m_pOsd.

Referenced by ProcessKey().

◆ Player()

static cSoftHdPlayer * cSoftHdControl::Player ( )
inlinestatic

Definition at line 117 of file mediaplayer.h.

References m_pPlayer.

Referenced by cSoftHdMenu::PlayListMenu(), and cSoftHdMenu::ProcessKey().

◆ ProcessKey()

eOSState cSoftHdControl::ProcessKey ( eKeys  key)
virtual

◆ ShowProgress()

void cSoftHdControl::ShowProgress ( void  )
private

Member Data Documentation

◆ m_closing

bool cSoftHdControl::m_closing = false
private

Definition at line 127 of file mediaplayer.h.

Referenced by Close(), and ProcessKey().

◆ m_pControl

cSoftHdControl * cSoftHdControl::m_pControl = NULL
staticprivate

Definition at line 123 of file mediaplayer.h.

Referenced by Control(), cSoftHdControl(), and ~cSoftHdControl().

◆ m_pDevice

cSoftHdDevice* cSoftHdControl::m_pDevice
private

Definition at line 126 of file mediaplayer.h.

Referenced by ProcessKey().

◆ m_pOsd

cSkinDisplayReplay* cSoftHdControl::m_pOsd = nullptr
private

Definition at line 125 of file mediaplayer.h.

Referenced by Hide(), ProcessKey(), and ShowProgress().

◆ m_pPlayer

cSoftHdPlayer * cSoftHdControl::m_pPlayer = NULL
staticprivate

Definition at line 124 of file mediaplayer.h.

Referenced by Player(), ProcessKey(), ShowProgress(), and ~cSoftHdControl().


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