Function dds_notify_readers

Function Documentation

dds_return_t dds_notify_readers(dds_entity_t subscriber)

Trigger DATA_AVAILABLE event on contained readers.

The DATA_AVAILABLE event is broadcast to all readers owned by this subscriber that currently have new data available. Any on_data_available listener callbacks attached to respective readers are invoked.

Parameters
  • subscriber[in] A valid subscriber handle.

Return values
  • DDS_RETCODE_OK – The operation was successful.

  • DDS_RETCODE_BAD_PARAMETER – The provided subscriber is invalid.

Returns

A dds_return_t indicating success or failure.