Skip to navigation

holoscan::ChannelPodLayout

Beta
View as Markdown
template <class T>

Supply the complete ordered field layout for an admitted raw POD payload.

The primary template is intentionally undefined. Graph authoring requires the ordered fields to cover every object byte exactly once, with no gap, overlap, or tail padding. Distinct C++ types may interoperate when their canonical name, version, object size/alignment, and complete field layout are identical. HSDK5-013 adds the canonical layout digest and fieldwise codec. Use std::byte fields for opaque bytes and std::uint8_t fields for numeric values. Python projects std::byte arrays as bytes and numeric arrays as tuples; scalar fields are numbers.

Raw POD payloads provide no schema evolution or compatibility tooling. A layout or semantic change requires a new ChannelTypeIdentity version and coordinated rollout.

Template parameters

T
class

Raw POD payload type.