![]() |
VR-Forces 4.0.4 Class Documentation
|
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, UserStart = 128, All = ~0 } |
| typedef unsigned int | ObjectType |
Public Member Functions | |
| DtElementEntry (DtElementID id, DtUniqueID parentId, ObjectType type) | |
| Create an element entry, and add it to the driver. | |
| ~DtElementEntry () | |
| DTOR. | |
| DtElementID | elementID () const |
| Get the unique ID of an element. | |
| DtElementID | parentID () const |
| Get the parent ID of an element. | |
| ObjectType | type () const |
| Get the object type of an element. | |
| const DtElementAttribute * | findAttribute (short attributeId) const |
| Find an existing attribute. | |
Protected Types | |
| typedef std::map< short, DtElementAttribute * > | AttributeMap |
Protected Attributes | |
| DtElementID | myId |
| DtElementID | myParentId |
| ObjectType | myType |
| AttributeMap | myAttributes |
Friends | |
| class | DtElementData |
DtElementEntry holds the non-simulation-specific data about an element, including its element type and attributes.
| typedef unsigned int makVrv::DtElementEntry::ObjectType |
typedef std::map<short,DtElementAttribute*> makVrv::DtElementEntry::AttributeMap [protected] |
| makVrv::DtElementEntry::DtElementEntry | ( | DtElementID | id, |
| DtUniqueID | parentId, | ||
| ObjectType | type | ||
| ) |
Create an element entry, and add it to the driver.
DTOR.
| 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().
friend class DtElementData [friend] |
DtElementID makVrv::DtElementEntry::myId [protected] |
DtElementID makVrv::DtElementEntry::myParentId [protected] |
ObjectType makVrv::DtElementEntry::myType [protected] |
AttributeMap makVrv::DtElementEntry::myAttributes [protected] |