holoscan::channel_internal::InlinePayloadReceiveGuard
holoscan::channel_internal::InlinePayloadReceiveGuard
Keep one received inline payload borrowed through verification and materialization.
Constructors
InlinePayloadReceiveGuard
Overload 1
Move
Copy (deleted)
Construct a guard for one active subscriber payload loan.
Parameters
Subscriber whose active loan will be released by this guard.
Exact used payload prefix borrowed from the transport.
Metadata carried by the borrowed sample.
Destructor
~InlinePayloadReceiveGuard
Release the active subscriber payload loan, if any.
Assignment operators
operator=
Move assign
Copy assign (deleted)
Replace this guard’s payload loan with another guard’s loan.
Returns: Reference to this guard after releasing its previous loan.
Parameters
Guard whose loan ownership is transferred.
Methods
payload
Return the exact used payload prefix while this guard remains live.
Returns: Borrowed transport bytes, or an empty span after a move.
metadata
Return the metadata carried by the borrowed sample.
Returns: Immutable sample metadata.