Skip to main content

Module pl

Module pl 

Source
Expand description

PL_CDR: parameter lists whose values are CDR, as used by the payloads of the discovery built-in endpoints (DDSI-RTPS 2.5, 9.6.3 and 10.3).

The payload starts with the 4-octet SerializedPayloadHeader (PL_CDR_BE or PL_CDR_LE), followed by a parameter list ending with PID_SENTINEL. Each value is its own CDR stream: alignment restarts at the start of the value (9.4.2.11.1).

Modules§

pid
Parameter ids (DDSI-RTPS 2.5, Tables 9.18 and 9.20).

Structs§

PlBuilder
Builds parameter values in a byte order.
PlValues
Reads parameter values in the byte order of their list.

Constants§

PL_CDR_BE
PL_CDR_BE (Table 10.1).
PL_CDR_LE
PL_CDR_LE (Table 10.1).

Functions§

decode_pl_payload
Reads a payload written with PL_CDR_BE or PL_CDR_LE. The options are ignored (10.3).
encode_pl_payload
Writes a payload: the PL_CDR_* header, the list and the sentinel. The options are zero (10.3).