holoscan::HoloscanEntityData
holoscan::HoloscanEntityData
DDS data type for Holoscan pub/sub messages.
This structure is used for two kinds of DDS messages:
- Main-topic messages:
serialized_datacarries a CodecRegistry-serialized Holoscan Entity (which may reference GPU tensors). The metadata fieldscontains_gpu_tensorsandgpu_device_iddescribe the entity payload.descriptor_format_versionis 0 andprotocol_name/publisher_gidare empty. - Sidecar messages (native buffer descriptors):
serialized_datacarries native-descriptor bytes produced byFastDdsTransport::send_native_descriptor().descriptor_format_version(> 0) andprotocol_nameidentify the wire format, andpublisher_gidassociates the descriptor with a main-topic publisher.
Common metadata fields:
- source_operator: Tracing/debugging (identifies the publishing operator)
- timestamp_ns: Message timestamping (for latency measurement, ordering)