VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Types
makVrv::DtWindowFactory Class Reference

Component which makes windows. More...

Inheritance diagram for makVrv::DtWindowFactory:
Inheritance graph
[legend]

Public Member Functions

 ~DtWindowFactory ()
 DTOR.
DtWindowcreateWindow (DtDe &de, DtWindowConfiguration &wc)
 Create a window.
void setCreator (int index, DtWindowCreator *creator)
 Set the function to create a window.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtWindowFactoryinstance (DtDe &de)
 Get the instance for this factory.

Protected Types

typedef std::map< int,
DtWindowCreator * > 
CreatorFunctionMap

Protected Member Functions

 DtWindowFactory ()
 Protected CTOR. Use create() function.

Protected Attributes

CreatorFunctionMap myCreatorFunctionMap

Private Types

typedef DtWindow *(* DtWindowCreatorFunction )(DtDe &, DtWindowConfiguration &)

Detailed Description

Component which makes windows.

This is not subclassed so there are no virtual methods.

Member Typedef Documentation

typedef DtWindow*(* makVrv::DtWindowFactory::DtWindowCreatorFunction)(DtDe &, DtWindowConfiguration &)
private

Constructor & Destructor Documentation

makVrv::DtWindowFactory::~DtWindowFactory ( )

DTOR.

makVrv::DtWindowFactory::DtWindowFactory ( )
protected

Protected CTOR. Use create() function.

Member Function Documentation

static DtWindowFactory& makVrv::DtWindowFactory::instance ( DtDe de)
static

Get the instance for this factory.

Creates this factory if one doesn't exist (lazy creation).

DtWindow* makVrv::DtWindowFactory::createWindow ( DtDe de,
DtWindowConfiguration wc 
)

Create a window.

void makVrv::DtWindowFactory::setCreator ( int  index,
DtWindowCreator creator 
)

Set the function to create a window.

Member Data Documentation

CreatorFunctionMap makVrv::DtWindowFactory::myCreatorFunctionMap
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)