Public Member Functions | |
InstanceHandle_t () | |
InstanceHandle_t (InstanceHandle_t src) | |
boolean | is_nil () |
Compare this handle to InstanceHandle_t.HANDLE_NIL. | |
Object | copy_from (Object src) |
Copy value of a data type from source. | |
boolean | equals (Object other) |
Compares this instance handle with another handle for equality. | |
Static Public Attributes | |
static final InstanceHandle_t | HANDLE_NIL |
The NIL instance handle. |
Handle to identiy different instances of the same com.rti.dds.topic.Topic of a certain type.
InstanceHandle_t | ( | ) |
InstanceHandle_t | ( | InstanceHandle_t | src | ) |
Construct a new instance handle equal to the given handle.
NullPointerException | if src is null |
boolean is_nil | ( | ) |
Compare this handle to InstanceHandle_t.HANDLE_NIL.
Object copy_from | ( | Object | src | ) |
Copy value of a data type from source.
Copy data into this object from another. This copy is intended to be a deep copy, so that all data members (recursively) are copied (not just resetting Object references).
This operation returns the object that is copied if copy is successful.
src | <<in>> The Object which contains the data to be copied. |
NullPointerException | If src is null. | |
ClassCastException | If src is not the same type as this. |
Implements Copyable.
boolean equals | ( | Object | other | ) |
Compares this instance handle with another handle for equality.
other | <<in>> The other handle to be compared with this handle. Cannot be null. |
final InstanceHandle_t HANDLE_NIL [static] |