Function dds_find_topic¶
Defined in File dds.h
Function Documentation¶
-
dds_entity_t dds_find_topic(dds_entity_t participant, const char *name)¶
Finds a named topic.
Finds a locally created topic based on the topic name.
- Parameters
participant – [in] The participant on which to find the topic.
name – [in] The name of the topic to find.
- Return values
>0 – A valid topic handle.
DDS_RETCODE_BAD_PARAMETER – Participant was invalid.
DDS_RETCODE_PRECONDITION_NOT_MET – No topic of this name existed yet in the participant
- Returns
A valid topic handle or an error code.