VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
ddsc_conf.h File Reference

Transport configuration for the ddsc:// CycloneDDS backend. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

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");
Note
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).