holoscan::authoring::OperatorConstructionInputs
holoscan::authoring::OperatorConstructionInputs
Borrow the complete named inputs of one registered Operator construction call.
Views are valid only for the duration of the construction thunk. Thunks must copy any owner they keep, for example by capturing the std::shared_ptr returned by require_shared by value.
Methods
find
Return the handle supplied under name, or nullptr when it was omitted.
require_shared
Recover the owner supplied under name.
Returns: The owner, or AUTHORING_CONSTRUCTOR_HANDLE_REQUIRED or a type-mismatch error.
Parameters
Canonical handle-input name.
Typed descriptor binding expected for name.
callback
Return the callback supplied under name, or an empty function when it was omitted.
The returned function shares ownership of the supplied callback, so the caller may store and copy it freely; copies never duplicate the underlying callable.
Returns: The callback, an empty function, or a type-mismatch error.
Parameters
Canonical callback-input name declared with callback_handle_type.
optional_shared
Recover the owner supplied under name, or nullptr when it was omitted.
Returns: The owner or nullptr, or a type-mismatch error.
Parameters
Canonical optional handle-input name.
Typed descriptor binding expected for name.