VLink  2.0.0
A high-performance communication middleware
ddsr_conf.h File Reference

Transport configuration for the ddsr:// RTI Connext DDS transport. 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 ddsr:// RTI Connext DDS transport.

DdsrConf binds the ddsr:// URL scheme to RTI Connext DDS, the commercial DDS stack widely used in safety-critical avionics, automotive ADAS, and industrial automation deployments where deterministic real-time behaviour and certified tooling are required. The API surface mirrors DdsConf so an application can switch between Fast-DDS and Connext by changing only the URL scheme.

Supported Node Types
Publisher Subscriber Server Client Getter Setter
yes yes yes yes yes yes
URL Format
ddsr://<topic>[?domain=<N>&depth=<N>&qos=<profile>]
ddsr://<topic>[?domain=<N>&part=<v>&topic=<v>&pub=<v>&sub=<v>&writer=<v>&reader=<v>]
Component Description
topic RTI Connext topic name (URL host concatenated with path)
domain DDS Domain ID (?domain=); defaults from the VLINK_DDS_DOMAIN env var
depth Optional history-depth override; 0 keeps the QoS-selected depth
qos Named QoS profile registered via register_qos() (?qos=)
qos_ext Remaining query keys after domain, depth and qos are removed
Backend-Specific Options
Option Purpose Default
XML QoS Library/Profile Per-entity overrides via qos_ext keys none
RPC reply suffix Auto-derived response topic name ___resp
Domain ID DomainParticipant Domain joined by readers and writers 0
Example
vlink::DdsrConf::register_qos("rtps_reliable", qos);
auto pub = vlink::Publisher<MyMsg>::create_unique("ddsr://control/cmd?domain=3&qos=rtps_reliable");
auto sub = vlink::Subscriber<MyMsg>::create_unique("ddsr://control/cmd?domain=3&qos=rtps_reliable");
Note
Compiled only when VLINK_SUPPORT_DDSR is defined.
qos and qos_ext are mutually exclusive on the same instance.
RPC reply topics are derived by appending "___resp" to the topic name.