|
VLink
2.0.0
A high-performance communication middleware
|
Transport configuration for the dds:// eProsima Fast-DDS / Fast-RTPS transport.
更多...
Transport configuration for the dds:// eProsima Fast-DDS / Fast-RTPS transport.
DdsConf is the default cross-machine transport in VLink and binds the dds:// URL scheme to the eProsima Fast-DDS implementation of the OMG DDS specification. It supports the full RTPS wire protocol over UDP/TCP and SHM, scales from a single LAN segment to wide-area deployments, and interoperates with any other compliant DDS vendor on the same Domain. Pub/sub, RPC (request/response over DDS topics) and field-style state synchronisation are all routed through Fast-DDS DataReaders and DataWriters under the hood.
| Publisher | Subscriber | Server | Client | Getter | Setter |
|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes |
| Component | Description |
|---|---|
topic | DDS topic name; URL host concatenated with the URL 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 with register_qos() (?qos=) |
qos_ext | Remaining query keys after domain, depth, qos have been removed |
| Variable | Description | Default |
|---|---|---|
| VLINK_DDS_DOMAIN | Default DDS Domain ID when ?domain= is not present in URL | 0 |
TopicDataType factory must be wired to the topic name before any endpoint is opened on that topic. An optional response type can be registered at the same time for RPC topics; the helper automatically appends the "___resp" suffix. VLINK_SUPPORT_DDS is defined. qos and qos_ext are mutually exclusive; setting both forces is_valid() to false. "___resp" to the topic name.