Function dds_waitset_detach

Function Documentation

dds_return_t dds_waitset_detach(dds_entity_t waitset, dds_entity_t entity)

This operation detaches an Entity to the WaitSet.

Parameters
  • waitset[in] The waitset to detach the given entity from.

  • entity[in] The entity to detach.

Return values
  • DDS_RETCODE_OK – Entity detached.

  • DDS_RETCODE_ERROR – An internal error has occurred.

  • DDS_RETCODE_BAD_PARAMETER – The given waitset or entity are not valid.

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

  • DDS_RETCODE_ALREADY_DELETED – The waitset has already been deleted.

  • DDS_RETCODE_PRECONDITION_NOT_MET – The entity is not attached.

Returns

A dds_return_t indicating success or failure.