Module constants

Module constants 

Source
Expand description

Constants and compile-time computations for DIS protocol

Constants§

MAX_ARTICULATION_PARAMS
Maximum number of articulation parameters
MAX_ENTITY_MARKING_LENGTH
Maximum size of entity marking string
MAX_PDU_SIZE
Maximum PDU size in bytes as defined by the DIS standard
PDU_HEADER_SIZE
PDU header size in bytes
PROTOCOL_VERSION_1995
Protocol version constants
PROTOCOL_VERSION_1998
PROTOCOL_VERSION_2012

Functions§

is_valid_protocol_version
Compile-time protocol version validation
total_pdu_size
Compile-time calculation of PDU size including header
validate_marking_length
Compile-time string length validation for entity marking
validate_pdu_size
Compile-time PDU size validation