Skip to navigation

holoscan::parameter_projected_byte_span

Beta
View as Markdown
template <auto Projector, typename... ParamReferences>
std::string_view stable_projection_id,
ParamReferences... dependencies
)

Derive Tensor slot bytes with a named compile-only C++ Parameter projector.

The projector must be deterministic, side-effect-free, reentrant, and read only the declared dependencies. Compilation invokes it once against finalized generation-zero Parameters. Runtime retains neither the callable nor its dependency readers.

Returns: Output-local expression leaf that may use the ordinary checked expression operations.

Template parameters

Projector
auto

Free or static non-throwing function with exact expected<uint64_t, Error>(const Params&) noexcept signature.

ParamReferences
typename...

One or more declared owning-Params dependency token types.

Parameters

stable_projection_id
std::string_view

Nonempty bounded UTF-8 semantic identity copied by this call.

dependencies
ParamReferences...

Every Parameter field read by the projector, including nested paths.