Skip to navigation

holoscan::ChannelSampleDescriptor

Beta
View as Markdown

Fixed-size descriptor carried through the channel transport-control plane.

This descriptor is identity and metadata, not the buffer itself. For same-process tensor/buffer channels, Holoscan Runtime resolves sidecar_token against a runtime-owned sidecar store. The private transport carries only this POD value and does not resolve the token.

#include <holoscan/types.hpp>

Methods

has_supported_abi

bool holoscan::ChannelSampleDescriptor::has_supported_abi() const noexcept

Return whether the descriptor uses the ABI compiled into this Core build.

operator bool

holoscan::ChannelSampleDescriptor::operator bool() const noexcept

Return whether the descriptor is non-empty and ABI-compatible.


Member variables

NameTypeDescription
magicstd::uint32_tDescriptor magic. Receivers reject descriptors with a different value.
abi_versionstd::uint16_tDescriptor ABI version.
payload_kindChannelPayloadKindPayload representation selected by graph finalization.
flagsstd::uint32_tRuntime-defined flags. The private transport does not interpret these bits.
expected_recipient_countstd::uint32_tNumber of recipients expected to observe this descriptor.
process_idstd::uint64_tOrigin process id used as a safety check for same-process descriptors.
sidecar_tokenstd::uint64_tRuntime-owned sidecar token. Zero is reserved for an empty descriptor.
generationstd::uint64_tABA-protection generation for the sidecar record.
schema_idSchemaIdComplete compact schema identity for schema-backed payloads.
sequencestd::uint64_tProducer sequence number.
byte_sizestd::uint64_tLogical payload byte size.