Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

SDLDriver::CVideoSystemFactorySDL Class Reference

Inheritance diagram for SDLDriver::CVideoSystemFactorySDL:

Inheritance graph
[legend]
Collaboration diagram for SDLDriver::CVideoSystemFactorySDL:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CVideoSystemFactorySDL (int width, int height, int depth, int is_fullscreen)

Private Member Functions

virtual CVideoSystemmake_singleton ()

Detailed Description

CVideoSystem's abstract factory subclass (see the CSingletonManager class for more information).

Definition at line 234 of file sdl_cvideo.cpp.


Constructor & Destructor Documentation

SDLDriver::CVideoSystemFactorySDL::CVideoSystemFactorySDL int  width,
int  height,
int  depth,
int  is_fullscreen
[inline]
 

The factory constructor takes as its parameters the width/height/depth/fullscreen values of the display and stores them inside itself so when it is told to make the singleton, it uses those as the parameters for CVideoSystemSDL's constructor.

Definition at line 248 of file sdl_cvideo.cpp.


Member Function Documentation

virtual CVideoSystem* SDLDriver::CVideoSystemFactorySDL::make_singleton  )  [inline, private, virtual]
 

The abstract factory class' single factory method, which must be defined by an implementation. The only thing it does is create and return a new instance of a singleton.

Implements CSingletonFactory< CVideoSystem >.

Definition at line 239 of file sdl_cvideo.cpp.


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 11:59:30 2003 for GFW by doxygen 1.3.3