holoscan::OperatorHandle
Hold copyable Graph declaration identity for one Operator type.
Template parameters
Constructors
OperatorHandle
Methods
operator->
Return restricted const prototype access for typed port wiring.
set_params
Overload 1
Overload 2
Replace the complete generation-zero parameter aggregate.
Throws: RuntimeError if validation/reconstruction fails or this handle is stale.
Parameters
Valid candidate aggregate copied into replayable factory state.
name
Return the owned local declaration name.
graph_valid
Return whether the source Graph still owns the exact typed declaration.
operator bool
Return whether this handle names a live Graph declaration.
ref
Return the compiled operator reference when one exists.
Returns: Invalid zero reference in HSDK5-006; HSDK5-009 binds plan identity.
id
Return the compiled operator identity when one exists.
Returns: Zero in HSDK5-006 because authoring handles never fabricate plan IDs.
plan_generation
Return the immutable compiled-plan generation when one exists.
Returns: Zero until HSDK5-009 freezes this declaration into a plan.
plan_bound
Return whether this handle is bound to an immutable compiled plan.
Returns: Always false for the HSDK5-006 authoring-only handle.