VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtTerrainDrawerColl Class Reference

Concrete class holds the set of base drawers – those which are available on all operating systems. More...

Inheritance diagram for DtTerrainDrawerColl:
Inheritance graph
[legend]

Public Member Functions

 DtTerrainDrawerColl ()
 DtTerrainDrawerColl (DtDrawerColl *nextComponent)
virtual ~DtTerrainDrawerColl ()
virtual DtSymbolDrawerlookupDrawer (const DtDrawerKey &key)
 — functions —
virtual bool init ()
- Public Member Functions inherited from DtDrawerColl
 DtDrawerColl ()
 — public constructors / assignment operator / destructor
 DtDrawerColl (DtDrawerColl *nextComponent)
virtual ~DtDrawerColl ()
virtual DtDrawerCollcomponent ()
virtual void setComponent (DtDrawerColl *c)
 Sets the component to be the supplied component.
virtual void addComponent (DtDrawerColl *c)
 Adds a new component into our component chain by moving to the last component and adding it to that one.
virtual void addDrawerCreator (const QString &str, DtSymbolDrawerCreatorFcn fcn)

Static Public Member Functions

static DtTerrainDrawerCollcreate ()
 Creates a new instance of this class.

Protected Member Functions

virtual DtSymbolDrawercreateDrawer (const QString &str)
 Override to look at internal list first.
 DtTerrainDrawerColl (const DtTerrainDrawerColl &orig)
 Protected so not used. Prefer class to be singleton.
DtTerrainDrawerColloperator= (const DtTerrainDrawerColl &orig)
 Protected so not used. Prefer class to be singleton.
- Protected Member Functions inherited from DtDrawerColl
 DtDrawerColl (const DtDrawerColl &orig)
DtDrawerColloperator= (const DtDrawerColl &orig)

Protected Attributes

DtTerrainDrawerMap myDrawers
- Protected Attributes inherited from DtDrawerColl
DtDrawerCollmyComponent
DtNullDrawer myNullDrawer
DtDrawerMap myMap
 Map of symbol types to drawers.

Detailed Description

Concrete class holds the set of base drawers – those which are available on all operating systems.

Note that because the inervisibility drawers hold a lot of state information for performance reasons, these drawers are allocated when returned so they must be freed by the developer

Constructor & Destructor Documentation

DtTerrainDrawerColl::DtTerrainDrawerColl ( )
DtTerrainDrawerColl::DtTerrainDrawerColl ( DtDrawerColl nextComponent)
virtual DtTerrainDrawerColl::~DtTerrainDrawerColl ( )
virtual
DtTerrainDrawerColl::DtTerrainDrawerColl ( const DtTerrainDrawerColl orig)
protected

Protected so not used. Prefer class to be singleton.

Member Function Documentation

virtual DtSymbolDrawer* DtTerrainDrawerColl::lookupDrawer ( const DtDrawerKey key)
virtual

— functions —

Implements DtDrawerColl.

static DtTerrainDrawerColl* DtTerrainDrawerColl::create ( )
static

Creates a new instance of this class.

virtual bool DtTerrainDrawerColl::init ( )
virtual

Reimplemented from DtDrawerColl.

virtual DtSymbolDrawer* DtTerrainDrawerColl::createDrawer ( const QString &  str)
protectedvirtual

Override to look at internal list first.

Reimplemented from DtDrawerColl.

DtTerrainDrawerColl& DtTerrainDrawerColl::operator= ( const DtTerrainDrawerColl orig)
protected

Protected so not used. Prefer class to be singleton.

Member Data Documentation

DtTerrainDrawerMap DtTerrainDrawerColl::myDrawers
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)