Skip to navigation

holoscan::ChannelOptions

Beta
View as Markdown

Setup-time options for the channel transport-control plane.

Queue policy, service maxima, publisher history, recipient capacity, and event-wake configuration form one service-static contract and must match on publisher and subscriber creation. Requested subscriber queue and borrow limits are subscriber-local; the publisher loan limit and replacement-attribution request are publisher-local. Remaining fields configure Tensor transfer, pool planning, and sidecar recipients.

#include <holoscan/types.hpp>

Member variables

NameTypeDescription
queue_policyChannelQueuePolicyService-static queue behavior for full subscriber queues.
max_subscriber_queue_depthstd::uint32_tMaximum per-subscriber queue depth supported by the publisher service.
subscriber_queue_depthstd::uint32_tSubscriber-local requested queue depth.
max_subscriber_borrowed_samplesstd::uint32_tMaximum samples each subscriber may borrow concurrently from the publisher service.
max_borrowed_samplesstd::uint32_tRequested borrowed-sample allowance for this subscriber.
publisher_history_depthstd::uint32_tService-static publisher history retained for late-joining subscribers.
max_loaned_samplesstd::uint32_tMaximum unsent samples a publisher may loan concurrently.
expected_recipient_countstd::uint32_tService-static recipient capacity and expected same-process recipients for typed sidecars.
enable_event_wakeboolEnable the service-static event wake integration used by wait sets.
replacement_attribution_requiredboolRequire per-recipient replacement attribution for descriptor-backed lossy delivery.
tensor_transfer_modeChannelTensorTransferModeDirect Tensor transport representation.
tensor_pool_planstd::optional< InterfaceTensorPoolPlan >Graph-selected exportable Tensor pool plan for an interprocess output.