Skip to main content

Module types

Module types 

Source
Expand description

IDL-PSM-Datentyp-Mapping nach DDS-XML 1.0 §7.2.

Element-Werte-Parser fuer Boolean, Hex-/Dezimal-Long, Duration_t, sowie die Symbol-Konstanten LENGTH_UNLIMITED, DURATION_INFINITE_SEC und DURATION_INFINITE_NSEC aus §7.2.2.

Alle Helper sind reine String -> typed-Value-Konvertierungen ohne Allokation, soweit moeglich.

Structs§

Duration
Duration_t gemaess DDS 1.4 §2.2.1.2 + DDS-XML 1.0 §7.2.6.

Constants§

DURATION_INFINITE_NSEC
Spec §7.2.2: DURATION_INFINITE_NSEC = 0x7FFFFFFF.
DURATION_INFINITE_SEC
Spec §7.2.2: DURATION_INFINITE_SEC = 0x7FFFFFFF (max signed long).
DURATION_ZERO_NSEC
Spec §7.2.2: DURATION_ZERO_NSEC = 0.
DURATION_ZERO_SEC
Spec §7.2.2: DURATION_ZERO_SEC = 0.
LENGTH_UNLIMITED
Spec §7.2.2: LENGTH_UNLIMITED als signed long, Wert -1.
MAX_STRING_BYTES
String-DoS-Cap: 64 KiB.
TIME_INVALID_NSEC
Spec §7.2.2.7: TIME_INVALID_NSEC = 0xFFFFFFFF.
TIME_INVALID_SEC
Spec §7.2.2.6: TIME_INVALID_SEC = -1.

Functions§

parse_bool
Boolean-Parser gemaess Spec §7.1.4 Tab.7.1.
parse_duration_nsec
Nanosekunden-Wert fuer Duration_t.nanosec gemaess Spec §7.2.2 + nonNegativeInteger_Duration_NSEC Pattern.
parse_duration_sec
Sekunden-Wert fuer Duration_t.sec gemaess Spec §7.2.2 + nonNegativeInteger_Duration_SEC Pattern.
parse_enum
Enum-Whitelist-Pruefung gemaess Spec §7.1.4 Tab.7.1 (enum-Werte sind String-Literale aus DCPS-IDL, nicht numerisch).
parse_long
Long-Parser (signed 32-bit) gemaess Spec §7.1.4 Tab.7.1.
parse_octet_sequence
Octet-Sequenz-Parser gemaess Spec §7.2.4.2 (Comma-separated decimal/hex). Jedes Element ist ein Octet (u8).
parse_positive_long_unlimited
positiveInteger_UNLIMITED-Parser gemaess Spec §7.2.2.9.
parse_string
String-Parser mit DoS-Cap gemaess ZeroDDS-Security-Posture.
parse_ulong
Unsigned-Long-Parser (32-bit) gemaess Spec §7.1.4 Tab.7.1.