Skip to main content

Module domain

Module domain 

Source
Expand description

DDS-XML 1.0 §7.3.4 Building Block “Domain Library”.

Ein <domain_library> traegt 1+ <domain>-Eintraege; jeder traegt eine numerische domain_id, sowie 0+ <register_type> und 0+ <topic>-Eintraege. Topics tragen einen register_type_ref (Verweis auf das <register_type>-Element innerhalb derselben Domain) und optional ein inline <topic_qos> oder ein qos_profile_ref-Attribut.

Spec-Quelle: OMG DDS-XML 1.0 §7.3.4 (Domain Library Building Block).

§XML → Rust-Type Mapping

<domain_library name=…>          | DomainLibrary
<domain name=… domain_id=…>      | DomainEntry
<register_type name=… type_ref=…>| RegisterType
<topic name=… register_type_ref=…> | TopicEntry
<topic_qos>…                     | TopicEntry.topic_qos (EntityQos)
qos_profile_ref="lib::profile"   | TopicEntry.qos_profile_ref (String)
topic_filter (attr or child)     | TopicEntry.topic_filter

Structs§

DomainEntry
Einzelne <domain>-Definition (§7.3.4.4.2).
DomainLibrary
Container fuer 1+ Domain-Definitionen (§7.3.4.4.1).
RegisterType
<register_type name="…" type_ref="…"/> (§7.3.4.4.4).
TopicEntry
<topic name="…" register_type_ref="…"> (§7.3.4.4.3).

Functions§

parse_domain_libraries
Parsed alle <domain_library>-Eintraege aus einem <dds>-Wurzel-Element.