![]() |
VR-Link API Documentation for HLA Evolved
|
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link. More...
Collaboration diagram for DtObjectId:Public Member Functions | |
| DtObjectId () | |
| The Default constructor. | |
| DtObjectId (RTI::ObjectHandle id) | |
| DtObjectId (const char *str) | |
| This constructor from a string is not provided by the 1516 interface. | |
| DtObjectId (const DtNetObjectId &netId) | |
| This constructor from an integer is not allowed in 1516. | |
| DtObjectId (const DtObjectId &orig) | |
| DtObjectId & | operator= (const DtObjectId &orig) |
| int | operator== (const DtObjectId &orig) const |
| Equality operators. | |
| int | operator!= (const DtObjectId &orig) const |
| bool | operator< (const DtObjectId &orig) const |
| operator RTI::ObjectHandle () const | |
| const char * | string () const |
Static Public Member Functions | |
| static const DtObjectId & | nullId () |
| static const DtObjectId & | defaultId () |
Protected Attributes | |
| RTI::ObjectHandle | myId |
Private Attributes | |
| DtString | myMutableStringRep |
| This is a cashed value which is computed in string() | |
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link.
In HLA 13 DtObjects represent RTI::ObjectInstances. It is possible that an instance of a DtObject could be a placeholder for VR-Link and not correspond to an object in the RTI. In HLA 1516 DtObjects can be real objects, invalid objects, or invalid objects which are placeholders. The difference between invalid objects, and invalid objects which are placeholders is that the string() which is used to generate a hash key, will be the same for plane invalid objects, but for invalid objects which are placeholders, the string will be unique.
The Default constructor.
In 1516 this creates an invalid DtObject. When a DtObject is created using this default constructor it will have an invalid ID of 1.
| DtObjectId::DtObjectId | ( | RTI::ObjectHandle | id | ) |
| DtObjectId::DtObjectId | ( | const char * | str | ) |
This constructor from a string is not provided by the 1516 interface.
| DtObjectId::DtObjectId | ( | const DtNetObjectId & | netId | ) |
This constructor from an integer is not allowed in 1516.
| DtObjectId::DtObjectId | ( | const DtObjectId & | orig | ) |
| static const DtObjectId& DtObjectId::defaultId | ( | ) | [static] |
| static const DtObjectId& DtObjectId::nullId | ( | ) | [static] |
| DtObjectId::operator RTI::ObjectHandle | ( | ) | const |
| int DtObjectId::operator!= | ( | const DtObjectId & | orig | ) | const |
| bool DtObjectId::operator< | ( | const DtObjectId & | orig | ) | const |
| DtObjectId& DtObjectId::operator= | ( | const DtObjectId & | orig | ) |
| int DtObjectId::operator== | ( | const DtObjectId & | orig | ) | const |
Equality operators.
| const char* DtObjectId::string | ( | ) | const |
RTI::ObjectHandle DtObjectId::myId [protected] |
DtString DtObjectId::myMutableStringRep [mutable, private] |
This is a cashed value which is computed in string()