Skip to navigation

holoscan::authoring::OpaqueChannelSubscriber

Beta
View as Markdown

Own one typed standalone Channel subscriber behind a payload-registry boundary.

The matching registered payload row is the only authority that may recover the concrete ChannelSubscriber<T>. The parent ChannelRuntime remains externally owned and must outlive this holder, exactly as for the public typed C++ facade.

#include <holoscan/authoring/channel_registry.hpp>

Constructors

OpaqueChannelSubscriber

holoscan::authoring::OpaqueChannelSubscriber::OpaqueChannelSubscriber() = default

Create an empty invalid subscriber holder.

Destructor

~OpaqueChannelSubscriber

holoscan::authoring::OpaqueChannelSubscriber::~OpaqueChannelSubscriber() = default

Assignment operators

operator=

OpaqueChannelSubscriber & holoscan::authoring::OpaqueChannelSubscriber::operator=(
) noexcept = default

Methods

operator bool

holoscan::authoring::OpaqueChannelSubscriber::operator bool() const noexcept

Return whether this holder owns a typed subscriber facade.


Member variables

NameTypeDescription
holder_std::shared_ptr< void >
local_type_token_const void *