VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtObjectsCountTreeLogic Class Reference

The logic for getting object counts from a simulation and populating an DtObjectsCountTreeInterface GUI. More...

List of all members.

Public Types

typedef std::pair< std::string,
DtObjectsCountTreeInterface::TacticalGraphicType
TacticalTypePair
 Typedefs describing lists of entity ids and of tactical element name/type pairs.
typedef std::vector
< TacticalTypePair
TacticalTypePairList
 Typedefs describing lists of entity ids and of tactical element name/type pairs.
typedef std::vector< int > EntityIDList
 Typedefs describing lists of entity ids and of tactical element name/type pairs.

Public Member Functions

 DtObjectsCountTreeLogic (DtDe &de, DtObjectsCountTreeInterface *iface)
 CTOR.
 ~DtObjectsCountTreeLogic ()
 DTOR.
void refreshWidget ()

Protected Member Functions

void slot_countEntitiesAdded (const DtElementData::ElementList &elementList)
void slot_countEntitiesRemoved (const DtElementData::UniqueIdList &elementIdList)
void slot_countDestroyedAndTacticals (const DtElementData::EntryAttributesList &attributeList)
void slot_tacticalGraphicRenamed (const DtUniqueID &tacticalId, const std::string &overlay)
void slot_tacticalGraphicRemoved (const DtUniqueID &tacticalId)
void countOneEntity (const DtElementEntry *entry, const bool subtract=false)
void countOneDestroyed (const DtElementEntry *entry, const DtElementAttributeDamageState *damageState)
void countOneTactical (const DtElementAttributeDisplayName *dispName, const DtElementAttributeKindAndCategory *kindCat)
void rememberEntityID (int entityID)
void forgetEntityID (int entityID)
bool knownEntityID (int entityID)
void rememberDestroyedID (int destroyedID)
void forgetDestroyedID (int destroyedID)
bool knownDestroyedID (int destroyedID)
void rememberTacticalData (std::string dispName, DtObjectsCountTreeInterface::TacticalGraphicType tacticalType)
void forgetTacticalData (std::string dispName)
bool knownTacticalData (std::string dispName)
DtObjectsCountTreeInterface::TacticalGraphicType findTacticalDataType (std::string dispName)
DtObjectsCountTreeInterface::TacticalGraphicType tacticalType (std::pair< int, int > kindCat)

Protected Attributes

DtDemyDe
DtObjectsCountTreeInterfacemyWidget
DtSignalConnectionManager myManager
EntityIDList entityIDs
EntityIDList destroyedIDs
TacticalTypePairList tacticalData

Detailed Description

The logic for getting object counts from a simulation and populating an DtObjectsCountTreeInterface GUI.


Member Typedef Documentation

Typedefs describing lists of entity ids and of tactical element name/type pairs.

Typedefs describing lists of entity ids and of tactical element name/type pairs.

Typedefs describing lists of entity ids and of tactical element name/type pairs.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

void makVrv::DtObjectsCountTreeLogic::slot_tacticalGraphicRenamed ( const DtUniqueID tacticalId,
const std::string &  overlay 
) [protected]
void makVrv::DtObjectsCountTreeLogic::countOneEntity ( const DtElementEntry entry,
const bool  subtract = false 
) [protected]
void makVrv::DtObjectsCountTreeLogic::countOneDestroyed ( const DtElementEntry entry,
const DtElementAttributeDamageState damageState 
) [protected]
void makVrv::DtObjectsCountTreeLogic::rememberEntityID ( int  entityID) [protected]
void makVrv::DtObjectsCountTreeLogic::forgetEntityID ( int  entityID) [protected]
void makVrv::DtObjectsCountTreeLogic::rememberDestroyedID ( int  destroyedID) [protected]
void makVrv::DtObjectsCountTreeLogic::forgetDestroyedID ( int  destroyedID) [protected]
bool makVrv::DtObjectsCountTreeLogic::knownDestroyedID ( int  destroyedID) [protected]
void makVrv::DtObjectsCountTreeLogic::forgetTacticalData ( std::string  dispName) [protected]
bool makVrv::DtObjectsCountTreeLogic::knownTacticalData ( std::string  dispName) [protected]

Member Data Documentation


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)