Skip to navigation

holoscan::PreparedParams

Beta
View as Markdown
template <ParameterAggregate ParamsT>

Own one graph-free typed parameter value with immutable producer evidence.

#include <holoscan/parameter_input.hpp>

Template parameters

ParamsT
ParameterAggregate

Typed parameter aggregate.


Constructors

PreparedParams

holoscan::PreparedParams<ParamsT>::PreparedParams(
) = default

Copy a prepared value while sharing its immutable evidence.


Assignment operators

operator=

PreparedParams & holoscan::PreparedParams<ParamsT>::operator=(
) = default

Replace this prepared value with a copy of another.


Methods

operator->

const ParamsT * holoscan::PreparedParams<ParamsT>::operator->() const noexcept

Return a pointer to the immutable typed value.

operator*

const ParamsT & holoscan::PreparedParams<ParamsT>::operator*() const noexcept

Return the immutable typed value.

value

const ParamsT & holoscan::PreparedParams<ParamsT>::value() const noexcept

Return the immutable typed value.

take

ParamsT holoscan::PreparedParams<ParamsT>::take() &&

Extract the plain value and discard its producer evidence.


Member variables

NameTypeDescription
value_ParamsT
evidence_std::shared_ptr< const detail::ParameterInputEvidenceState >