#include <objectruntimemappinginfo.h>
Public Member Functions | |
| ObjectRuntimeMappingInfo () | |
| ~ObjectRuntimeMappingInfo () | |
| bool | Put (const std::string &rtiId, const dtCore::UniqueId &actorId) |
| Bidirectionally maps the given RTI id string (RTIObjectIdentifierStruct) to the actor id. | |
| bool | Put (const RTI::ObjectHandle handle, const dtCore::UniqueId &actorId) |
| Bidirectionally maps the given object handle to the unique id. | |
| bool | Put (const EntityIdentifier &entityId, const dtCore::UniqueId &actorId) |
| Bidirectionally maps the given entity id to the unique id. | |
| bool | Put (const RTI::ObjectHandle handle, ObjectToActor &ota) |
| Maps the given object handle to the object to actor. | |
| const dtCore::UniqueId * | GetId (const RTI::ObjectHandle handle) const |
| |
| const dtCore::UniqueId * | GetId (const EntityIdentifier &entityId) const |
| |
| const dtCore::UniqueId * | GetIdByRTIId (const std::string &rtiId) const |
| |
| const std::string * | GetRTIId (const dtCore::UniqueId &actorId) const |
| |
| const RTI::ObjectHandle * | GetHandle (const dtCore::UniqueId &actorId) const |
| |
| const EntityIdentifier * | GetEntityId (const dtCore::UniqueId &actorId) const |
| |
| const ObjectToActor * | GetObjectToActor (const RTI::ObjectHandle handle) const |
| |
| ObjectToActor * | GetObjectToActor (const RTI::ObjectHandle handle) |
| |
| void | Remove (const RTI::ObjectHandle handle) |
| Removes all mappings for the given handle including a unique id, an object to actor, and an entity id id mapped to the unique id. | |
| void | Remove (const EntityIdentifier &entityId) |
| Removes the mapping to a unique id for the given entity id. | |
| void | Remove (const dtCore::UniqueId &actorId) |
| Removes the mapping to an object handle and an entity id for the given unique id. | |
| void | Clear () |
| Removes all mappings in the instance. | |
| void | GetAllActorIds (std::vector< dtCore::UniqueId > &toFill) const |
| |
| dtHLAGM::ObjectRuntimeMappingInfo::ObjectRuntimeMappingInfo | ( | ) |
| dtHLAGM::ObjectRuntimeMappingInfo::~ObjectRuntimeMappingInfo | ( | ) |
| bool dtHLAGM::ObjectRuntimeMappingInfo::Put | ( | const std::string & | rtiId, | |
| const dtCore::UniqueId & | actorId | |||
| ) |
Bidirectionally maps the given RTI id string (RTIObjectIdentifierStruct) to the actor id.
| bool dtHLAGM::ObjectRuntimeMappingInfo::Put | ( | const RTI::ObjectHandle | handle, | |
| const dtCore::UniqueId & | actorId | |||
| ) |
Bidirectionally maps the given object handle to the unique id.
| bool dtHLAGM::ObjectRuntimeMappingInfo::Put | ( | const EntityIdentifier & | entityId, | |
| const dtCore::UniqueId & | actorId | |||
| ) |
Bidirectionally maps the given entity id to the unique id.
| bool dtHLAGM::ObjectRuntimeMappingInfo::Put | ( | const RTI::ObjectHandle | handle, | |
| ObjectToActor & | ota | |||
| ) |
Maps the given object handle to the object to actor.
| const dtCore::UniqueId * dtHLAGM::ObjectRuntimeMappingInfo::GetId | ( | const RTI::ObjectHandle | handle | ) | const |
| const dtCore::UniqueId * dtHLAGM::ObjectRuntimeMappingInfo::GetId | ( | const EntityIdentifier & | entityId | ) | const |
| const dtCore::UniqueId * dtHLAGM::ObjectRuntimeMappingInfo::GetIdByRTIId | ( | const std::string & | rtiId | ) | const |
| const std::string * dtHLAGM::ObjectRuntimeMappingInfo::GetRTIId | ( | const dtCore::UniqueId & | actorId | ) | const |
| const RTI::ObjectHandle * dtHLAGM::ObjectRuntimeMappingInfo::GetHandle | ( | const dtCore::UniqueId & | actorId | ) | const |
| const EntityIdentifier * dtHLAGM::ObjectRuntimeMappingInfo::GetEntityId | ( | const dtCore::UniqueId & | actorId | ) | const |
| const ObjectToActor * dtHLAGM::ObjectRuntimeMappingInfo::GetObjectToActor | ( | const RTI::ObjectHandle | handle | ) | const |
| ObjectToActor * dtHLAGM::ObjectRuntimeMappingInfo::GetObjectToActor | ( | const RTI::ObjectHandle | handle | ) |
| void dtHLAGM::ObjectRuntimeMappingInfo::Remove | ( | const RTI::ObjectHandle | handle | ) |
Removes all mappings for the given handle including a unique id, an object to actor, and an entity id id mapped to the unique id.
| void dtHLAGM::ObjectRuntimeMappingInfo::Remove | ( | const EntityIdentifier & | entityId | ) |
Removes the mapping to a unique id for the given entity id.
This will also remove the object handle mapped to the unique id and the object to actor mapped to the object handle.
| void dtHLAGM::ObjectRuntimeMappingInfo::Remove | ( | const dtCore::UniqueId & | actorId | ) |
Removes the mapping to an object handle and an entity id for the given unique id.
This will also remove the object to actor mapped to the object handle; and remove the RTI id string mapping to the actor id.
| void dtHLAGM::ObjectRuntimeMappingInfo::Clear | ( | ) |
Removes all mappings in the instance.
| void dtHLAGM::ObjectRuntimeMappingInfo::GetAllActorIds | ( | std::vector< dtCore::UniqueId > & | toFill | ) | const |