Skip to navigation

holoscan::authoring::InterfacePortPair

Beta
View as Markdown

Own one typed input/output pair for a reusable-Graph interface.

#include <holoscan/authoring/registry.hpp>

Constructors

InterfacePortPair

holoscan::authoring::InterfacePortPair::InterfacePortPair() = default

Create an empty interface-port pair.


Methods

input

const OpaquePortRef & holoscan::authoring::InterfacePortPair::input() const noexcept

Return the owned input reference.

Returns: Type-erased reference suitable for a registered payload thunk.

output

const OpaquePortRef & holoscan::authoring::InterfacePortPair::output() const noexcept

Return the owned output reference.

Returns: Type-erased reference suitable for a registered payload thunk.


Static methods

make

template <PublishedPayload T>
static InterfacePortPair holoscan::authoring::InterfacePortPair::make(
std::string_view name
)

Construct an exact typed interface pair.

Template parameters

T
PublishedPayload

Registered payload type.

Parameters

name
std::string_view

Owned declaration name copied into both ports.


Member variables

NameTypeDescription
input_OpaquePortRef
output_OpaquePortRef