コード例 #1
0
 ContentFilteredTopic(const std::string& the_name,
                      const dds::topic::Topic<T>& the_topic,
                      const std::string& filter,
                      const dds::core::StringSeq& parameters,
                      const typename idds::topic::TopicDescriptionImpl<T>::DPHolder& dp)
 : idds::topic::TopicDescriptionImpl<T>(the_name,
                                        the_topic.type_name(),
                                        dp),
   topic_(the_topic),
   filter_(filter),
   params_(parameters) { }
コード例 #2
0
 ContentFilteredTopic(
       const dds::topic::Topic<T>& topic,
       const std::string& name,
       const dds::topic::Filter& filter)
 : dds::topic::detail::TopicDescription<T>(topic.domain_participant(), topic.name(), topic.type_name()),
   topic_(topic),
   filter_(filter)
   { }