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