Function dds_create_guardcondition¶
- Defined in File dds.h 
Function Documentation¶
- 
dds_entity_t dds_create_guardcondition(dds_entity_t participant)¶
- Creates a guardcondition. - Waitsets allow waiting for an event on some of any set of entities. This means that the guardcondition can be used to wake up a waitset when data is in the reader history with states that matches the given mask. - Return values
- >0 – A valid condition handle 
- DDS_RETCODE_ERROR – An internal error has occurred. 
- DDS_RETCODE_ILLEGAL_OPERATION – The operation is invoked on an inappropriate object. 
- DDS_RETCODE_ALREADY_DELETED – The entity has already been deleted. 
 
- Returns
- A valid condition handle or an error code.