Skip to navigation

holoscan::NotificationSource

Beta
View as MarkdownOpen in Claude

Declare one bounded counted notification source owned by an operator.

Every successful post accepts one distinct witness; notification witnesses are neither coalesced nor overwritten. Capacity is supplied through the setup builder and covers each accepted witness through complete retirement. Capacity rejection accepts nothing, so a lossless producer retries the same logical notification until it is accepted or the sender becomes terminal. The declaration contains no callback, adapter, or run-session ownership.

#include <holoscan/readiness_source.hpp>

Constructors

NotificationSource

holoscan::NotificationSource::NotificationSource() noexcept = default

Construct an unbound logical source declaration.

Destructor

~NotificationSource

holoscan::NotificationSource::~NotificationSource() = default

Destroy an unbound or setup-bound logical declaration.


Assignment operators

operator=

The following overloads are deleted to prevent misuse:

NotificationSource & holoscan::NotificationSource::operator=(const NotificationSource &other) = delete;
NotificationSource & holoscan::NotificationSource::operator=(NotificationSource &&other) = delete;

Methods

operator NotificationSourceRef

holoscan::NotificationSource::operator NotificationSourceRef() const noexcept

Convert this declaration to its current typed logical source reference.

This implicit conversion enables canonical syntax such as OnNotified{.event = notification_source} without acquiring a sender capability.

Returns: Bound logical reference, or a default-invalid reference before compilation binds it.


Member variables

NameTypeDescription
ref_NotificationSourceRef