holoscan::HostedParameterSnapshot
Own an immutable parameter schema and generation-zero value without language callbacks.
Copies share immutable storage. Descriptor strings, field records, and scalar values therefore remain stable for as long as a Graph factory, compiled Plan, or session-owned Operator retains a snapshot. Reading the snapshot never invokes a foreign runtime or acquires a language lock.
Methods
operator bool
Return whether this snapshot carries a declared parameter schema.
type
Return the exact process-local aggregate descriptor.
schema
Return the owned immutable schema, or null for an empty snapshot.
read_scalar
Read one scalar field by descriptor.
Returns: true only for a present exact scalar value.
read_scalar_sequence
Read one bounded scalar sequence by descriptor.
Returns: Empty for a foreign or non-sequence field; an authored empty sequence is valid.