holoscan::InputPortConfigurator
Configure cold authoring policy for one Graph-owned input port.
A configurator is a non-owning handle. It remains usable only while the originating Graph and exact port declaration remain live. Each successful call atomically updates cold authoring state; a rejected call leaves the port and its incident edges unchanged. Configurators do not make Graph authoring thread-safe, so callers must serialize them with all other reads and mutations of the same Graph.
Template parameters
Exact published payload type of the input declaration.
Constructors
InputPortConfigurator
Methods
queue_depth
Override the finite input history depth.
Returns: This configurator for fluent authoring.
Throws: RuntimeError if depth is zero or the source Graph is unavailable.
Parameters
Positive number of samples retained for this logical input.
expects_tensor
Override this input with one common consumer Tensor spec.
Returns: This configurator for fluent authoring.
Parameters
Representation, finite bounds, and conversion requirements.
diagnostic_alias
Assign an owned diagnostic alias without changing port identity.
Returns: This configurator for fluent authoring.
Throws: RuntimeError if alias is invalid or the source Graph is unavailable.
Parameters
Nonempty bounded UTF-8 alias copied before return.