Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members  

PLMSDLMgr Class Reference

SDL initialisation manager. More...

#include <PLMSDLMgr.hpp>

Inheritance diagram for PLMSDLMgr:

Inheritance graph
[legend]
List of all members.

Public Methods

 PLMSDLMgr (u32 flags)
virtual ~PLMSDLMgr ()
u32 NbInstances ()
u32 SDLState ()

Detailed Description

SDL initialisation manager.

This object is used by SDL-dependant classes as a super class (PLMScreen, PLMMixer, PLMInput, PLMTimer) to ensure that SDL library has been properly initialised (and is properly closed).


Constructor & Destructor Documentation

PLMSDLMgr::PLMSDLMgr u32    flags
 

Init SDL library with the given flags.

Only the new sub-systems are initialised, already running parts are ignored.

virtual PLMSDLMgr::~PLMSDLMgr   [virtual]
 

Shut down all running SDL sub-systems.


Member Function Documentation

u32 PLMSDLMgr::NbInstances   [inline]
 

Get the current number of instances (classes using SDL).

u32 PLMSDLMgr::SDLState   [inline]
 

Get the current value of SDL flags (initialized sub-systems).


The documentation for this class was generated from the following file:
  • PLMSDLMgr.hpp

Generated by Doxygen 1.2.18 on Tue Oct 26 12:07:44 2004.