Function dds_get_status_changes

Function Documentation

dds_return_t dds_get_status_changes(dds_entity_t entity, uint32_t *status)

Get changed status(es)

This operation returns the status changes since they were last read.

Parameters
  • entity[in] Entity on which the statuses are read.

  • status[out] Returns the current set of triggered statuses.

Return values
  • DDS_RETCODE_OK – Success.

  • DDS_RETCODE_BAD_PARAMETER – The entity parameter is not a valid parameter.

  • DDS_RETCODE_ILLEGAL_OPERATION – The operation is invoked on an inappropriate object.

  • DDS_RETCODE_ALREADY_DELETED – The entity has already been deleted.

Returns

A dds_return_t indicating success or failure.