holoscan::PredicateInputView
Borrow one immutable scalar sample during predicate evaluation.
Runtime creates a view only for a selected or reused scalar input. The view owns neither the sample nor its read claim and expires with the predicate evaluation or fired activation that adopted the pinned sample. It exposes no mutable payload, endpoint, transport handle, or ownership extension.
Template parameters
Constructors
PredicateInputView
Copy
Move
Overload 3
Copy the same predicate-scoped immutable sample view.
Parameters
View whose borrowed binding and generation evidence are copied.
Destructor
~PredicateInputView
Destroy this view without retaining or releasing the pinned sample.
Assignment operators
operator=
Copy assign
Move assign
Replace this view with another predicate-scoped borrowed binding.
Returns: This view after replacement.
Parameters
View whose borrowed binding and generation evidence are copied.
Methods
sample
Return the pinned immutable sample.
The view’s generation remains active and the binding contains a scalar sample.
Returns: Predicate-evaluation-scoped sample reference.
selection
Return the frozen selection outcome for this sample.
Returns: Selected or reused state and its reason.