Function dds_lookup_instance

Function Documentation

dds_instance_handle_t dds_lookup_instance(dds_entity_t entity, const void *data)

This operation takes a sample and returns an instance handle to be used for subsequent operations.

Parameters
  • entity[in] Reader or Writer entity.

  • data[in] Sample with a key fields set.

Returns

instance handle or DDS_HANDLE_NIL if instance could not be found from key.