Function rmw_fastrtps_shared_cpp::create_content_filtered_topic
Defined in File utils.hpp
Function Documentation
-
bool rmw_fastrtps_shared_cpp::create_content_filtered_topic(eprosima::fastdds::dds::DomainParticipant *participant, eprosima::fastdds::dds::TopicDescription *topic_desc, const std::string &topic_name_mangled, const rmw_subscription_content_filter_options_t *options, eprosima::fastdds::dds::ContentFilteredTopic **content_filtered_topic)
Create content filtered topic.
- Parameters:
participant – [in] DomainParticipant where the topic will be created.
topic_desc – [in] TopicDescription returned by find_and_check_topic_and_type.
topic_name_mangled – [in] Mangled Name of the topic.
options – [in] Options of the content filtered topic.
content_filtered_topic – [out] Will hold the pointer to the content filtered topic along with the necessary information for its deletion.
- Returns:
true when the content filtered topic was created
- Returns:
false when the content filtered topic could not be created