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

Qt includes. More...

Inheritance diagram for DtDrawerColl:
Inheritance graph
[legend]

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

DtDrawerColl::DtDrawerColl ( )

— public constructors / assignment operator / destructor

DtDrawerColl::DtDrawerColl ( DtDrawerColl nextComponent)
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

DtDrawerColl* DtDrawerColl::myComponent
protected
DtNullDrawer DtDrawerColl::myNullDrawer
protected
DtDrawerMap DtDrawerColl::myMap
protected

Map of symbol types to drawers.


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)