VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtElementEntry Class Reference

DtElementEntry holds the non-simulation-specific data about an element, including its element type and attributes. More...

Public Types

enum  ElementType {
  Unknown = 0, Entity = 1, Prop = 2, TerrainPatch = 3,
  Aggregate = 4, Observer = 5, Environmental = 6, GraphicPoint = 7,
  GraphicShape = 8, GraphicVertex = 9, RemoteGraphic = 10, TacticalGraphic = 11,
  Intervisibility =12, Feature =13, TacticalSmoke =14, BuoyOrBeacon =15,
  DynamicTerrain =16, UserStart = 128, All = ~0
}
 
typedef unsigned int ObjectType
 
typedef std::map< short,
DtElementAttribute * > 
AttributeMap
 

Public Member Functions

 DtElementEntry (DtElementID id, DtUniqueID parentId, ObjectType type)
 Create an element entry, and add it to the driver. More...
 
 ~DtElementEntry ()
 DTOR. More...
 
DtElementID elementID () const
 Get the unique ID of an element. More...
 
DtElementID parentID () const
 Get the parent ID of an element. More...
 
ObjectType type () const
 Get the object type of an element. More...
 
const DtElementAttributefindAttribute (short attributeId) const
 Find an existing attribute. More...
 
AttributeMapattributes ()
 
const AttributeMapattributes () const
 

Protected Attributes

DtElementID myId
 
DtElementID myParentId
 
ObjectType myType
 
AttributeMap myAttributes
 

Private Member Functions

 DtElementEntry ()
 Default constructor. More...
 
 DtElementEntry (const DtElementEntry &)
 Copy constructor. More...
 
DtElementEntryoperator= (const DtElementEntry &)
 Assignment Operator. More...
 

Detailed Description

DtElementEntry holds the non-simulation-specific data about an element, including its element type and attributes.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
Unknown 
Entity 
Prop 
TerrainPatch 
Aggregate 
Observer 
Environmental 
GraphicPoint 
GraphicShape 
GraphicVertex 
RemoteGraphic 
TacticalGraphic 
Intervisibility 
Feature 
TacticalSmoke 
BuoyOrBeacon 
DynamicTerrain 
UserStart 
All 

Constructor & Destructor Documentation

makVrv::DtElementEntry::DtElementEntry ( DtElementID  id,
DtUniqueID  parentId,
ObjectType  type 
)

Create an element entry, and add it to the driver.

makVrv::DtElementEntry::~DtElementEntry ( )

DTOR.

makVrv::DtElementEntry::DtElementEntry ( )
private

Default constructor.

Note
Not implemented
makVrv::DtElementEntry::DtElementEntry ( const DtElementEntry )
private

Copy constructor.

Note
Not implemented

Member Function Documentation

DtElementID makVrv::DtElementEntry::elementID ( ) const

Get the unique ID of an element.

DtElementID makVrv::DtElementEntry::parentID ( ) const

Get the parent ID of an element.

ObjectType makVrv::DtElementEntry::type ( ) const

Get the object type of an element.

const DtElementAttribute* makVrv::DtElementEntry::findAttribute ( short  attributeId) const

Find an existing attribute.

Referenced by makVrv::DtUniqueElementAttribute< T, AttributeId >::findInEntry().

AttributeMap& makVrv::DtElementEntry::attributes ( )
const AttributeMap& makVrv::DtElementEntry::attributes ( ) const
DtElementEntry& makVrv::DtElementEntry::operator= ( const DtElementEntry )
private

Assignment Operator.

Note
Not implemented

Member Data Documentation

DtElementID makVrv::DtElementEntry::myId
protected
DtElementID makVrv::DtElementEntry::myParentId
protected
ObjectType makVrv::DtElementEntry::myType
protected
AttributeMap makVrv::DtElementEntry::myAttributes
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)