VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtNullDrawer Class Reference

class DtNullDrawer: More...

Inheritance diagram for DtNullDrawer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~DtNullDrawer ()
 DtNullDrawer ()
virtual bool draw (QPainter &paint, const DtSymbol *const symbol) const
virtual QSize calcBBox (const DtSymbol *const symbol) const

Static Public Member Functions

static DtSymbolDrawercreate ()

Protected Member Functions

 DtNullDrawer (const DtNullDrawer &orig)
 Protected since not used. Prefer class to be a singleton.
DtNullDraweroperator= (const DtNullDrawer &orig)
 Protected since not used. Prefer class to be a singleton.

Detailed Description

class DtNullDrawer:

Concrete implementation of DtSymbolDrawer which does nothing. Predominantly intended for testing symbology.

This class has no dependency on qt drawing routines. Thus if (when) we change from Qt to another drawing package, none of the symbol classes will change, just the symboldraw derived classes.


Constructor & Destructor Documentation

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

Protected since not used. Prefer class to be a singleton.


Member Function Documentation

virtual bool DtNullDrawer::draw ( QPainter &  paint,
const DtSymbol *const  symbol 
) const [virtual]

Implements DtSymbolDrawer.

virtual QSize DtNullDrawer::calcBBox ( const DtSymbol *const  symbol) const [virtual]

Implements DtSymbolDrawer.

static DtSymbolDrawer* DtNullDrawer::create ( ) [static]
DtNullDrawer& DtNullDrawer::operator= ( const DtNullDrawer orig) [protected]

Protected since not used. Prefer class to be a singleton.


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)