Skip to main content

Module registry

Module registry 

Source
Expand description

QoS profile registry — DDS-XML 1.0 §7.3 profile resolution.

Loads one or more <qos_library>/<qos_profile> definitions from XML (RTI / Cyclone / FastDDS style) and resolves a profile reference "Library::Profile" (or unqualified "Profile" against the first library) under full base_name inheritance (§7.3.2.4.2) into a materialized zerodds_qos::WriterQos / zerodds_qos::ReaderQos.

This makes the documented migration path real: an existing RTI/Cyclone/FastDDS QoS XML is read and applied by profile name to entity creation — without translating the settings into Rust code.

let reg = QosProfileRegistry::from_xml(xml)?;
let qos = reg.writer_qos("MyLib::HighPerf")?; // zerodds_qos::WriterQos
// then: publisher.create_datawriter(&topic, qos.into())  (see zerodds-dcps From)

Structs§

QosProfileRegistry
An in-memory set of DDS-XML QoS libraries, resolvable by "Lib::Profile".