Skip to navigation

holoscan::HostedParameterSnapshotBuilder

Beta
View as MarkdownOpen in Claude

Build one immutable runtime-declared Parameter schema and value snapshot.

#include <holoscan/hosted_parameter_snapshot.hpp>

Constructors

HostedParameterSnapshotBuilder

std::string stable_id,
std::string description = {}
)

Start a complete version-one schema.

Parameters

stable_id
std::string

Stable non-empty schema identity copied by the builder.

description
std::stringDefaults to {}

Optional descriptive UTF-8 text copied by the builder.


Methods

field

Append one field in declaration order for validation by build.

build

HostedParameterSnapshot holoscan::HostedParameterSnapshotBuilder::build() const

Freeze the complete schema and generation-zero values.

Throws: RuntimeError when the schema identity or any field is invalid.


Member variables

NameTypeDescription
stable_id_std::string
description_std::string
fields_std::vector< HostedParameterField >