Function dds_forwardcdr¶
Defined in File dds.h
Function Documentation¶
-
dds_return_t dds_forwardcdr(dds_entity_t writer, struct ddsi_serdata *serdata)¶
Write a serialized value of a data instance.
This call causes the writer to write the serialized value that is provided in the serdata argument. Timestamp and statusinfo are used as is.
- Parameters
writer – [in] The writer entity.
serdata – [in] Serialized value to be written.
- Return values
DDS_RETCODE_OK – The writer successfully wrote the serialized value.
DDS_RETCODE_ERROR – An internal error has occurred.
DDS_RETCODE_BAD_PARAMETER – One of the given arguments is not valid.
DDS_RETCODE_ILLEGAL_OPERATION – The operation is invoked on an inappropriate object.
DDS_RETCODE_ALREADY_DELETED – The entity has already been deleted.
DDS_RETCODE_TIMEOUT – The writer failed to write the serialized value reliably within the specified max_blocking_time.
- Returns
A dds_return_t indicating success or failure.