holoscan::channel_internal::InlinePayloadWaitSet
holoscan::channel_internal::InlinePayloadWaitSet
Multiplex private subscriber readiness without exposing backend handles.
The facade retains shared backend wait state and is neither copyable nor movable. Each attachment independently retains that backend and its subscriber port, so attachments may outlive the facade, and one subscriber binding may be attached only once. Setup and wait operations are externally serialized while the facade is live; a successful warmed wait copies results only into caller-provided bounded storage.
Constructors
InlinePayloadWaitSet
Default
Deleted overloads
Construct an empty private wait set before backend initialization.
Destructor
~InlinePayloadWaitSet
Release the facade’s backend reference; subscriber attachments may retain it longer.
Assignment operators
operator=
Deleted overloads
The following overloads are deleted to prevent misuse:
Methods
attach
Attach one event-enabled subscriber and return its wait-set-local identity.
Returns: Stable wait-set-local identity, or a checked setup error.
Parameters
Subscriber whose backend port is retained by the attachment.
wait_for
Perform one bounded kernel wait.
Returns: True when the backend reported a possible readiness event, false on timeout, or a checked wait error.
Parameters
Maximum duration to block.
ready_handles
Copy ready wait identities into preallocated destination storage.
Returns: Number of copied identities, or ErrorCode::kResourceExhausted when the destination is too small.
Parameters
Storage for identities reported by the most recent successful wait.