Skip to navigation

holoscan::authoring::OpaquePortConfigurator

Beta
View as Markdown

Type-erase one weak Graph port configurator.

The configurator retains weak Graph identity and the stable port ID. Configurators derived from an embedded interface additionally retain its exact reusable-Graph registration identity so rollback and index reuse cannot retarget them. Direction-specific methods reject calls that do not apply to the configured port rather than fabricating an alternate configuration path.

#include <holoscan/authoring/registry.hpp>

Constructors

OpaquePortConfigurator

holoscan::authoring::OpaquePortConfigurator::OpaquePortConfigurator() = default

Create an empty invalid configurator.


Methods

queue_depth

OpaquePortConfigurator & holoscan::authoring::OpaquePortConfigurator::queue_depth(
std::uint32_t depth
)

Configure a positive input queue depth.

Returns: This configurator for fluent language-neutral authoring.

max_emits_per_compute

OpaquePortConfigurator & holoscan::authoring::OpaquePortConfigurator::max_emits_per_compute(
std::uint32_t count
)

Configure a positive output emission bound.

Returns: This configurator for fluent language-neutral authoring.

late_joiner_history_depth

OpaquePortConfigurator & holoscan::authoring::OpaquePortConfigurator::late_joiner_history_depth(
std::uint32_t depth
)

Configure a positive output late-joiner history depth.

Returns: This configurator for fluent language-neutral authoring.

diagnostic_alias

OpaquePortConfigurator & holoscan::authoring::OpaquePortConfigurator::diagnostic_alias(
std::string_view alias
)

Configure a diagnostic alias for either port direction.

Returns: This configurator for fluent language-neutral authoring.

require_live_state

std::shared_ptr<holoscan::detail::GraphState> holoscan::authoring::OpaquePortConfigurator::require_live_state() const

Member variables

NameTypeDescription
state_std::weak_ptr< holoscan::detail::GraphState >
port_GraphPortId
port_handle_identity_std::shared_ptr< const void >
direction_PortDirection
graph_index_std::size_t
graph_handle_identity_std::shared_ptr< const void >