Function dds_get_topic_filter_and_arg¶
Defined in File dds.h
Function Documentation¶
-
dds_return_t dds_get_topic_filter_and_arg(dds_entity_t topic, dds_topic_filter_arg_fn *fn, void **arg)¶
Gets the filter for a topic. To be replaced by proper filtering on readers, no guarantee that this will be maintained for backwards compatibility.
- Parameters
topic – [in] The topic from which to get the filter.
fn – [out] The topic filter function (fn may be NULL).
arg – [out] Filter function argument (arg may be NULL).
- Return values
DDS_RETCODE_OK – Filter set successfully
DDS_RETCODE_PRECONDITION_NOT_MET – Filter is not of “none” or “sample_arg”
DDS_RETCODE_BAD_PARAMETER – The topic handle is invalid