You are here: Part 2: Core Concepts > Topics > ContentFilteredTopics > Deleting ContentFilteredTopics

Deleting ContentFilteredTopics

To delete a ContentFilteredTopic, use the DomainParticipant’s delete_contentfilteredtopic() operation:

Make sure no DataReaders are using the ContentFilteredTopic. (If this is not true, the operation returns PRECONDITION_NOT_MET.)

Delete the ContentFilteredTopic by using the DomainParticipant’s delete_contentfilteredtopic() operation.

DDS_ReturnCode_t delete_contentfilteredtopic
(DDSContentFilteredTopic * a_contentfilteredtopic)

© 2016 RTI