Skip to navigation

holoscan::PortList

Beta
View as Markdown

Own a cold declaration-order list of borrowed input port references.

This value may allocate during authoring. A Contract immediately copies each referenced name and direction, so neither this list nor an authoring address enters a plan or run session.

#include <holoscan/temporal_contract_types.hpp>

Constructors

PortList

holoscan::PortList::PortList() = default

Construct an empty list.


Methods

values

std::span<const PortRef> holoscan::PortList::values() const noexcept

Return declaration-order borrowed references.

Returns: Span valid until this list is modified or destroyed.


Member variables

NameTypeDescription
ports_std::vector< PortRef >