cOsdProvider Class Reference

#include <osd.h>

Inheritance diagram for cOsdProvider:

Inheritance graph
[legend]
Collaboration diagram for cOsdProvider:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cOsdProvider (void)
virtual ~cOsdProvider ()

Static Public Member Functions

static cOsdNewOsd (int Left, int Top)
static void Shutdown (void)
 Shuts down the OSD provider facility by deleting the current OSD provider.

Protected Member Functions

virtual cOsdCreateOsd (int Left, int Top)=0

Static Private Attributes

static cOsdProviderosdProvider = NULL


Detailed Description

Definition at line 329 of file osd.h.


Constructor & Destructor Documentation

cOsdProvider::cOsdProvider ( void   ) 

Definition at line 736 of file osd.c.

References osdProvider.

cOsdProvider::~cOsdProvider (  )  [virtual]

Definition at line 742 of file osd.c.

References osdProvider.


Member Function Documentation

virtual cOsd* cOsdProvider::CreateOsd ( int  Left,
int  Top 
) [protected, pure virtual]

Returns a pointer to a newly created cOsd object, which will be located at the given coordinates.

Implemented in cDvbOsdProvider.

Referenced by NewOsd().

cOsd * cOsdProvider::NewOsd ( int  Left,
int  Top 
) [static]

Returns a pointer to a newly created cOsd object, which will be located at the given coordinates. When the cOsd object is no longer needed, the caller must delete it. If the OSD is already in use, or there is no OSD provider, a dummy OSD is returned so that the caller may always use the returned pointer without having to check it every time it is accessed.

Definition at line 747 of file osd.c.

References CreateOsd(), esyslog, cOsd::IsOpen(), and osdProvider.

Referenced by cSkinClassicDisplayChannel::cSkinClassicDisplayChannel(), cSkinClassicDisplayMenu::cSkinClassicDisplayMenu(), cSkinClassicDisplayMessage::cSkinClassicDisplayMessage(), cSkinClassicDisplayReplay::cSkinClassicDisplayReplay(), cSkinClassicDisplayTracks::cSkinClassicDisplayTracks(), cSkinClassicDisplayVolume::cSkinClassicDisplayVolume(), cSkinSTTNGDisplayChannel::cSkinSTTNGDisplayChannel(), cSkinSTTNGDisplayMenu::cSkinSTTNGDisplayMenu(), cSkinSTTNGDisplayMessage::cSkinSTTNGDisplayMessage(), cSkinSTTNGDisplayReplay::cSkinSTTNGDisplayReplay(), cSkinSTTNGDisplayTracks::cSkinSTTNGDisplayTracks(), cSkinSTTNGDisplayVolume::cSkinSTTNGDisplayVolume(), cDvbSpuDecoder::Draw(), and cLineGame::Show().

Here is the call graph for this function:

void cOsdProvider::Shutdown ( void   )  [static]

Shuts down the OSD provider facility by deleting the current OSD provider.

Definition at line 758 of file osd.c.

References osdProvider.

Referenced by main().


Member Data Documentation

cOsdProvider * cOsdProvider::osdProvider = NULL [static, private]

Definition at line 331 of file osd.h.

Referenced by cOsdProvider(), NewOsd(), Shutdown(), and ~cOsdProvider().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:21:23 2007 for VDR by  doxygen 1.5.3-20071008