Skip to navigation

holoscan::core_payload_kind

Beta
View as Markdown
inline expected<PayloadKind, Error> holoscan::core_payload_kind(
const ChannelPayloadKind kind
) noexcept

Map a private Channel representation to the Core whole-sample semantic kind.

The mapping is exhaustive and field based. The two enums are not integer-compatible wire layouts and must never be converted with a cast.

Returns: The corresponding Core kind, or an error for an unknown private discriminator.

Parameters

kind
const ChannelPayloadKind

Private Channel descriptor representation.