VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
ddsc_conf.h 文件参考

Transport configuration for the ddsc:// CycloneDDS backend. 更多...

此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

详细描述

Transport configuration for the ddsc:// CycloneDDS backend.

DdscConf configures the Eclipse CycloneDDS transport, an open-source DDS implementation that targets both embedded and cloud deployments. It provides the same VLink API as DdsConf (Fast-DDS) but delegates to CycloneDDS internally.

Supported Node Types
ddsc:// supports all six node types: kPublisher, kSubscriber, kServer, kClient, kSetter, and kGetter.
URL Format
ddsc://<topic>[?domain=<N>&depth=<N>&qos=<name>]
Component Description
topic CycloneDDS topic name; formed from host + "/" + path
domain DDS Domain ID (?domain=, default from VLINK_DDS_DOMAIN env var)
depth History depth for the endpoint (?depth=, default 0)
qos Named QoS profile registered via register_qos() (?qos=)
QoS Registration
vlink::Qos my_qos;
my_qos.reliability = vlink::Reliability::kReliable;
vlink::DdscConf::register_qos("my_profile", my_qos);
vlink::Subscriber<MyMsg> sub("ddsc://my_topic?qos=my_profile");
注解
This header is compiled only when VLINK_SUPPORT_DDSC is defined.
Unlike DdsConf, DdscConf does not support register_topic() or extended QoS maps (qos_ext).