Function dds_get_mask

Function Documentation

dds_return_t dds_get_mask(dds_entity_t condition, uint32_t *mask)

Get the mask of a condition.

This operation returns the mask that was used to create the given condition.

Parameters
  • condition[in] Read or Query condition that has a mask.

Return values
  • DDS_RETCODE_OK – Success (given mask is set).

  • DDS_RETCODE_ERROR – An internal error has occurred.

  • DDS_RETCODE_BAD_PARAMETER – The mask arg is NULL.

  • 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.