Expand description
The QoS policies that endpoint discovery reads and matches on.
The policies and their default values come from the DDS 1.4 specification (2.2.3 and the IDL in 2.3.3). How they are written in a parameter list comes from DDSI-RTPS 2.5, 9.6.3 (Tables 9.18 and 9.19).
RELIABILITY, DURABILITY, DEADLINE, LIVELINESS and PARTITION are modelled (rustorb-dds#6, rustorb-dds#19). Other policies sent by remote endpoints are skipped.
Structs§
- Durability
Service DurabilityServiceQosPolicy(DDS 1.4, 2.2.3.5): the HISTORY and RESOURCE_LIMITS of the service that keeps the samples of a TRANSIENT or PERSISTENT writer, and when it drops a disposed instance. The counts arelongs,-1beingLENGTH_UNLIMITED.- Liveliness
LivelinessQosPolicy(DDS 1.4, 2.2.3.11).- QosPolicy
Id QosPolicyId_t(DDS 1.4, 2.3.3): which policy made a writer and a reader incompatible.- Reliability
ReliabilityQosPolicy.- RxO
- The policies an offering writer and a requesting reader set.
Enums§
- Durability
Kind DurabilityQosPolicyKind, in the order of the DDS enum, which is also the order used to compare an offered and a requested kind (DDS 1.4, 2.2.3.4).- Liveliness
Kind LivelinessQosPolicyKind, in the order of the DDS enum, which is also the order used to compare an offered and a requested kind (DDS 1.4, 2.2.3.11).- Reliability
Kind ReliabilityQosPolicyKind. On the wire it isReliabilityKind_t:BEST_EFFORT = 1,RELIABLE = 2(DDSI-RTPS 2.5, 9.3.2 and Table 9.18 note 3), not the DDS enum ordinal.
Functions§
- incompatible_
policies - The policies for which what a writer offers does not satisfy what a reader requests (the “requested/offered” rules of DDS 1.4, 2.2.3): RELIABILITY and DURABILITY kinds, offered >= requested; DEADLINE, offered period <= requested; LIVELINESS, offered kind >= requested and offered lease <= requested. Empty when they are compatible.
- partitions_
match - Whether two PARTITION lists share a partition (DDS 1.4, 2.2.3.13). An
empty list means the default partition,
"".