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

! TM includes More...

Inheritance diagram for DtExpandDrawerColl:
Inheritance graph
[legend]

Public Member Functions

 DtExpandDrawerColl ()
 DtExpandDrawerColl (DtDrawerColl *nextComponent)
virtual ~DtExpandDrawerColl ()
virtual DtSymbolDrawerlookupDrawer (const DtDrawerKey &key)
 — functions —
virtual void addDrawer (const DtDrawerKey &key, DtSymbolDrawer *)
 ! Add a drawer.
virtual void removeDrawer (const DtDrawerKey &key)
- 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 bool init ()
virtual void addDrawerCreator (const QString &str, DtSymbolDrawerCreatorFcn fcn)
virtual DtSymbolDrawercreateDrawer (const QString &str)

Protected Attributes

QHash< QString, DtSymbolDrawer * > myDrawerDict
- Protected Attributes inherited from DtDrawerColl
DtDrawerCollmyComponent
DtNullDrawer myNullDrawer
DtDrawerMap myMap
 Map of symbol types to drawers.

Private Member Functions

 DtExpandDrawerColl (const DtExpandDrawerColl &orig)
DtExpandDrawerColloperator= (const DtExpandDrawerColl &orig)

Additional Inherited Members

- Protected Member Functions inherited from DtDrawerColl
 DtDrawerColl (const DtDrawerColl &orig)
DtDrawerColloperator= (const DtDrawerColl &orig)

Detailed Description

! TM includes

! QT includes CClass that allows the programmer to add new drawers to the collection for easy lookup on drawing time.

Constructor & Destructor Documentation

DtExpandDrawerColl::DtExpandDrawerColl ( )
DtExpandDrawerColl::DtExpandDrawerColl ( DtDrawerColl nextComponent)
virtual DtExpandDrawerColl::~DtExpandDrawerColl ( )
virtual
DtExpandDrawerColl::DtExpandDrawerColl ( const DtExpandDrawerColl orig)
private

Member Function Documentation

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

— functions —

Implements DtDrawerColl.

virtual void DtExpandDrawerColl::addDrawer ( const DtDrawerKey key,
DtSymbolDrawer  
)
virtual

! Add a drawer.

Note that as soon as you do this, the DrawerCollection TAKES OVER THE OWNERSHIP of the drawer.

virtual void DtExpandDrawerColl::removeDrawer ( const DtDrawerKey key)
virtual
DtExpandDrawerColl& DtExpandDrawerColl::operator= ( const DtExpandDrawerColl orig)
private

Member Data Documentation

QHash<QString, DtSymbolDrawer*> DtExpandDrawerColl::myDrawerDict
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)