Expand description
PublicationBuiltinTopicData (DDSI-RTPS 2.5 §8.5.4.2, §9.6.2.2.3).
Content of the SEDP publications DATA submessage that a participant
sends to make a local DataWriter known to remote participants.
Serialized as a PL_CDR_LE-encoded ParameterList in the
serialized_payload of a DATA submessage.
topic_name + type_name + GUIDs +
minimal QoS fields (durability, reliability). No deadline,
liveliness, lifespan, ownership, partition etc. — those are read and
stored in the extra vec, but not typed.
QoS enums local here — once WP 1.5 brings full QoS matching,
DurabilityKind/ReliabilityKind move to zerodds-qos.
Modules§
- data_
representation DataRepresentationId— XTypes 1.3 §7.6.3.1.1 + RTPS 2.5 PID 0x0073.
Structs§
- Publication
Builtin Topic Data - Discovered Publication / lokaler DataWriter — Subset.
- Reliability
Qos - Reliability QoS value: kind + max_blocking_time.
Enums§
- Durability
Kind - Durability-QoS Kind.
- Reliability
Kind - Reliability-QoS Kind.
Functions§
- collect_
locator_ params - Collects all locators announced under
pid_id(a repeated PID = list). BE locators are skipped — consistent withparticipant_data::decode_locator(BE locator not implemented). - decode_
octet_ seq - Decodes an opaque
sequence<octet>from the PID value. - encode_
locator_ params - Emits a separate parameter per locator — an RTPS locator list is the repeated PID (spec §8.3.5.2 ParameterList).
- encode_
octet_ seq_ le - Partition = sequence
. CDR layout: u32 count + N × CDR string (each CDR string with its own alignment padding). Encodes an opaque sequence<octet>asu32 length + N byte data, padded to a 4-byte boundary. DDS QoS UserData/TopicData/GroupData. - inject_
pid_ shm_ locator - ADR-0006 / zerodds-flatdata-1.0 §3.1: injects PID_SHM_LOCATOR
(vendor PID 0x8001) into an already PL-CDR-LE-encoded
PublicationBuiltinTopicDatabyte sequence. The vendor PID carries NO MUST_UNDERSTAND bit — foreign vendors ignore it safely, ZeroDDS readers on the same host attach to SHM.