VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtDrawerColl Class Reference

Qt includes. More...

Inheritance diagram for DtDrawerColl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtDrawerColl ()
 --- public constructors / assignment operator / destructor
 DtDrawerColl (DtDrawerColl *nextComponent)
virtual ~DtDrawerColl ()
virtual DtSymbolDrawerlookupDrawer (const DtDrawerKey &key)=0
 --- functions ---
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 bool init ()
virtual void addDrawerCreator (const QString &str, DtSymbolDrawerCreatorFcn fcn)
virtual DtSymbolDrawercreateDrawer (const QString &str)

Protected Member Functions

 DtDrawerColl (const DtDrawerColl &orig)
DtDrawerColloperator= (const DtDrawerColl &orig)

Protected Attributes

DtDrawerCollmyComponent
DtNullDrawer myNullDrawer
DtDrawerMap myMap
 Map of symbol types to drawers.

Detailed Description

Qt includes.

class DtDrawerColl:

Abstract base class of drawer collections. Concrete subclasses can be chained together using the decorator pattern. This allows the user to mix various subsets of drawers. For example, basic drawers which work on all o/s + drawers for windows basic drawers + true type fonts ttf + windows

The drawer collection owns any component with which it is constructed, and will delete it upon destruction.


Constructor & Destructor Documentation

--- public constructors / assignment operator / destructor

virtual DtDrawerColl::~DtDrawerColl ( ) [virtual]
DtDrawerColl::DtDrawerColl ( const DtDrawerColl orig) [protected]

Member Function Documentation

virtual DtSymbolDrawer* DtDrawerColl::lookupDrawer ( const DtDrawerKey key) [pure virtual]
virtual DtDrawerColl* DtDrawerColl::component ( ) [virtual]
virtual void DtDrawerColl::setComponent ( DtDrawerColl c) [virtual]

Sets the component to be the supplied component.

virtual void DtDrawerColl::addComponent ( DtDrawerColl c) [virtual]

Adds a new component into our component chain by moving to the last component and adding it to that one.

virtual bool DtDrawerColl::init ( ) [virtual]

Reimplemented in DtTerrainDrawerColl, and DtOverlayDrawerColl.

virtual void DtDrawerColl::addDrawerCreator ( const QString &  str,
DtSymbolDrawerCreatorFcn  fcn 
) [virtual]
virtual DtSymbolDrawer* DtDrawerColl::createDrawer ( const QString &  str) [virtual]

Reimplemented in DtTerrainDrawerColl.

DtDrawerColl& DtDrawerColl::operator= ( const DtDrawerColl orig) [protected]

Member Data Documentation

Reimplemented in DtBaseDrawerColl.

Map of symbol types to drawers.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)