Skip to main content

Module zerodds_xml

Module zerodds_xml 

Source
Expand description

Top-level building-block loader for DDS-XML 1.0.

Aggregates the four library types (QoS, Domain, Domain-Participant, Application) from a single <dds> root element into a DdsXml snapshot. Provides cross-library resolve helpers that resolve a participant incl. its inheritance chain and the referenced domain/topic/QoS items.

Spec sources: OMG DDS-XML 1.0 §7.3.2 - §7.3.6 together.

Structs§

DdsXml
Aggregated top-level snapshot of a <dds> document.
ResolvedDataReader
Resolved DataReader snapshot.
ResolvedDataWriter
Resolved DataWriter snapshot.
ResolvedParticipant
Resolved snapshot of a domain participant after applying:
ResolvedPublisher
Resolved publisher snapshot.
ResolvedSubscriber
Resolved subscriber snapshot.
ResolvedTopic
Resolved topic snapshot.

Traits§

ParticipantFactoryAdapter
Adapter trait for binding a resolved participant to a real DCPS DomainParticipantFactory. This crate deliberately implements only the trait skeleton — a concrete wire-up implementation lives in a separate crate (e.g. zerodds-dcps-xml-bridge), to preserve the layer discipline (zerodds-xml does not depend on zerodds-dcps).

Functions§

apply_to_factory
Convenience function: forwards a resolved participant to an adapter. The implementation is trivial forwarding and exists only to make the top-level API ergonomic.
parse_dds_xml
Parses a complete <dds> document and returns the aggregated building-block snapshot.