The Entity class provides an operation to retrieve an instance handle for the object. The operation is simply:
InstanceHandle_t get_instance_handle()
An instance handle is a global ID for the entity that can be used in methods that allow user applications to determine if the entity was locally created, if an entity is owned (created) by another entity, etc.
© 2016 RTI