Skip to navigation

holoscan::authoring::embed_registered_graph

Beta
View as Markdown
HOLOSCAN_CORE_EXPORT expected<RegisteredGraphEmbedding, Error> holoscan::authoring::embed_registered_graph(
Graph &graph,
const RegisteredGraphType &row,
std::string_view name,
std::span<const ParameterAssignment> assignments
)

Embed through one registry row and harvest its exact interface atomically.

Returns: Complete erased identity and interface, or failure with no parent mutation.

Throws: Any exceptional row failure after restoring the parent Graph.

Parameters

graph
Graph &

Destination parent Graph.

row
const RegisteredGraphType &

Stable registered reusable-Graph row.

name
std::string_view

Parent-local child instance name.

assignments
std::span<const ParameterAssignment>

Named constructor assignments.