![]() |
VR-Forces Developer's Guide
|
DtElementEntry holds the non-simulation-specific data about an element, including its element type and attributes.
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, LaserDesignator =17, RadioCommunication =18, RadioTransmission =19, RunwaySelector =20, UserStart = 128, All = ~0 } |
| typedef unsigned int | ObjectType |
| typedef std::map< short, DtElementAttribute * > | AttributeMap |
Public Member Functions | |
| DtElementEntry (DtElementID id, DtUniqueID parentId, ObjectType type) | |
| ~DtElementEntry () | |
| DtElementID | elementID () const |
| DtElementID | parentID () const |
| ObjectType | type () const |
| const DtElementAttribute * | findAttribute (short attributeId) const |
| AttributeMap & | attributes () |
| const AttributeMap & | attributes () const |
| DtElementEntry ()=delete | |
| DtElementEntry (const DtElementEntry &)=delete | |
| DtElementEntry & | operator= (const DtElementEntry &)=delete |
| DtElementEntry (const DtElementEntry &&)=delete | |
| DtElementEntry & | operator= (const DtElementEntry &&)=delete |
Protected Attributes | |
| DtElementID | myId |
| DtElementID | myParentId |
| ObjectType | myType |
| AttributeMap | myAttributes |
| typedef std::map<short, DtElementAttribute*> makVrv::DtElementEntry::AttributeMap |
| makVrv::DtElementEntry::DtElementEntry | ( | DtElementID | id, |
| DtUniqueID | parentId, | ||
| ObjectType | type | ||
| ) |
Create an element entry, and add it to the driver.
| makVrv::DtElementEntry::~DtElementEntry | ( | ) |
DTOR.
|
delete |
Default constructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
| 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 |
|
delete |
Assignment Operator.
|
delete |
Move Assignment Operator.
|
protected |
|
protected |
|
protected |
|
protected |