MAK Data Logger API Documentation for DIS
List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
MAKLogger::DtMarkingSymbols Class Reference
+ Collaboration diagram for MAKLogger::DtMarkingSymbols:

Public Member Functions

 DtMarkingSymbols ()
 DtMarkingSymbols (DtMtlEnvironment *mtl)
virtual ~DtMarkingSymbols ()
virtual bool loadLispFile (const char *filename)
virtual QPixmap getIconForEmitterSystem () const
 Returns a pixmap of the emitter system symbol.
virtual QPixmap getBigIconForEmitterSystem () const
virtual QPixmap getIconForDetonation () const
 Returns a pixmap of the detonation symbol.
virtual QPixmap getBigIconForEntity (const DtEntityType &type, const DtForceType &force)
 Returns a big pixmap.
virtual QPixmap getIconForEntity (const DtEntityType &type, const DtForceType &force, bool destroyed=false)
 Returns a pixmap of the symbol for this entity type.
virtual QPixmap getIconForAggregate (const DtEntityType &type, const DtForceType &force, bool destroyed=false)
 Returns a pixmap of the symbol for this entity type.

Protected Member Functions

void registerMtlParameters ()
virtual bool lookupParameters ()
virtual void addMapping (DtSymbolSpec *newspec)
 Add an entity/force id mapping.
virtual DtSymbolSpec * getSymbol (const DtEntityType &type, int forceId) const
virtual QPixmap getIconForDestroyed () const

Static Protected Member Functions

static DtlObjPtr parseSymbolMap (const DtlObjPtr &args, const DtlObjPtr &)
static DtSymbolSpec * parseBmpSymbol (const DtlObjPtr &args, DtlObjPtr &retval)

Protected Attributes

bool myCreatedEnv
DtMtlEnvironment * myEnv
QPixmapCache myIconCache
DtList * myMappings
DtString myDetonationPixName
DtString mySensorPixName
DtString myDestroyedPixName
DtString myDestroyedMaskPixName

Constructor & Destructor Documentation

MAKLogger::DtMarkingSymbols::DtMarkingSymbols ( )
MAKLogger::DtMarkingSymbols::DtMarkingSymbols ( DtMtlEnvironment *  mtl)
virtual MAKLogger::DtMarkingSymbols::~DtMarkingSymbols ( )
virtual

Member Function Documentation

virtual void MAKLogger::DtMarkingSymbols::addMapping ( DtSymbolSpec *  newspec)
protectedvirtual

Add an entity/force id mapping.

virtual QPixmap MAKLogger::DtMarkingSymbols::getBigIconForEmitterSystem ( ) const
virtual
virtual QPixmap MAKLogger::DtMarkingSymbols::getBigIconForEntity ( const DtEntityType &  type,
const DtForceType &  force 
)
virtual

Returns a big pixmap.

virtual QPixmap MAKLogger::DtMarkingSymbols::getIconForAggregate ( const DtEntityType &  type,
const DtForceType &  force,
bool  destroyed = false 
)
virtual

Returns a pixmap of the symbol for this entity type.

virtual QPixmap MAKLogger::DtMarkingSymbols::getIconForDestroyed ( ) const
protectedvirtual
virtual QPixmap MAKLogger::DtMarkingSymbols::getIconForDetonation ( ) const
virtual

Returns a pixmap of the detonation symbol.

virtual QPixmap MAKLogger::DtMarkingSymbols::getIconForEmitterSystem ( ) const
virtual

Returns a pixmap of the emitter system symbol.

virtual QPixmap MAKLogger::DtMarkingSymbols::getIconForEntity ( const DtEntityType &  type,
const DtForceType &  force,
bool  destroyed = false 
)
virtual

Returns a pixmap of the symbol for this entity type.

virtual DtSymbolSpec* MAKLogger::DtMarkingSymbols::getSymbol ( const DtEntityType &  type,
int  forceId 
) const
protectedvirtual
virtual bool MAKLogger::DtMarkingSymbols::loadLispFile ( const char *  filename)
virtual
virtual bool MAKLogger::DtMarkingSymbols::lookupParameters ( )
protectedvirtual
static DtSymbolSpec* MAKLogger::DtMarkingSymbols::parseBmpSymbol ( const DtlObjPtr &  args,
DtlObjPtr &  retval 
)
staticprotected
static DtlObjPtr MAKLogger::DtMarkingSymbols::parseSymbolMap ( const DtlObjPtr &  args,
const DtlObjPtr &   
)
staticprotected
void MAKLogger::DtMarkingSymbols::registerMtlParameters ( )
protected

Member Data Documentation

bool MAKLogger::DtMarkingSymbols::myCreatedEnv
protected
DtString MAKLogger::DtMarkingSymbols::myDestroyedMaskPixName
protected
DtString MAKLogger::DtMarkingSymbols::myDestroyedPixName
protected
DtString MAKLogger::DtMarkingSymbols::myDetonationPixName
protected
DtMtlEnvironment* MAKLogger::DtMarkingSymbols::myEnv
protected
QPixmapCache MAKLogger::DtMarkingSymbols::myIconCache
protected
DtList* MAKLogger::DtMarkingSymbols::myMappings
protected
DtString MAKLogger::DtMarkingSymbols::mySensorPixName
protected

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

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)