Fast DDS之Topic

目录

  • DataType
  • ContentFilterTopic
    • 使用自定义filters
  • 为data types生成代码

Publications 关联到一个topic,subscriptions 关联到广义的TopicDescription
Fast DDS之Topic_第1张图片

DataType

ContentFilterTopic

允许sub只接受感兴趣的消息而不是所欲呕pub发布的消息。这种过滤是基于数据内容进行的。通过使用ContentFilteredTopic,可以减少网络带宽的使用,提高处理速度,并且只关注真正感兴趣的数据。
默认使用SQL-like表达式作用ContentFilterTopic的过滤条件

使用自定义filters

为data types生成代码

你可能感兴趣的:(Fast,DDS,1024程序员节,中间件,c++,linux,去中心化,网络)