Skip to navigation

holoscan::authoring::RegisteredOperatorType

Beta
View as Markdown

Describe one registered parameters-only Operator type and its generated thunks.

Every function pointer is a C++-tier cold authoring operation. Throwing thunks preserve the corresponding public template contract; add_to_graph_from_assignments returns ordinary authoring failures as data. The registration name and descriptor pointers must remain valid for the process lifetime.

#include <holoscan/authoring/registry.hpp>

Member variables

NameTypeDescription
namestd::string_viewStable registry name.
param_typeconst ParamTypeDescriptor *Exact aggregate storage operations.
param_schemaconst ParamSchemaDescriptor *Declared schema, when discoverable.
parameter_introspectionOperatorParameterIntrospectionParameter metadata availability and post-construction replacement semantics.
required_parametersstd::span< const std::string_view >Canonical constructor-parameter names that language bindings must require from callers.
add_to_graphOpaqueOperatorRef(*Add an Operator, optionally applying a materialized aggregate of the row’s exact type.
add_to_graph_from_assignmentsexpected< OpaqueOperatorRef, Error >(*Materialize named values or map them through a hand-authored constructor thunk.
set_paramsvoid(*Replace parameters after verifying the materialized aggregate’s exact process-local type.
portOpaquePortRef(*Resolve a logical port reference that revalidates the current declaration on each use.
portsstd::vector< PortRecord >(*Copy this Operator’s setup-order port records without composing or snapshotting its Graph.
region_addvoid(*Add the exact Operator to one region through its typed public handle.
partition_addvoid(*Add the exact Operator to one partition through its typed public handle.
lifecycle_beforevoid(*Add one lifecycle ordering edge after resolving both stable Operator identities.
lifecycle_allow_self_restartvoid(*Authorize one exact typed Operator to request its own restart.
lifecycle_allow_external_restartvoid(*Authorize external control to restart one exact typed Operator.
lifecycle_allow_restart_requestvoid(*Authorize one exact typed requester to restart another registered Operator.
bind_configparams::ParamConfigBinding(*Create a typed graph-owned configuration binding when this row explicitly supports one.
constructor_inputsconst RegisteredConstructorInputs *Constructor-handle inputs of a manual row, or nullptr for a row without handles.