holoscan::PredicateBinding
Own one cold predicate identity, callable, optional state, config, and input list.
Copying deep-clones the owned values. The descriptor has no runtime receiver address, plan identity, evaluator invocation API, or profile-admission authority. Compilation classifies the immutable descriptor and session construction copies or rebinds the accepted callable. Cold construction and copying may allocate and may propagate exceptions from owned values. Concurrent access is not safe when any thread mutates or replaces the binding; externally synchronize mutation and any overlapping observation.
Constructors
PredicateBinding
Default
Copy
Move
Overload 4
Construct an invalid empty binding.
Deep-copy the owned cold predicate descriptor.
Parameters
Descriptor to copy.
Move the complete cold descriptor.
Parameters
Descriptor whose storage is transferred.
Destructor
~PredicateBinding
Destroy all owned cold callable, state, and config values.
Assignment operators
operator=
Copy assign
Move assign
Replace this descriptor with a deep copy.
Returns: This descriptor after replacement.
Parameters
Descriptor to copy.
Replace this descriptor by moving another descriptor.
Returns: This descriptor after replacement.
Parameters
Descriptor whose storage is transferred.
Methods
operator bool
Return whether this descriptor contains a callable and valid identity.
Returns: true for a factory-created binding.
name
Return the copied local or qualified predicate name.
Returns: Borrowed view valid until this binding is modified or destroyed.
callable_kind
Return the cold callable classification.
Returns: Function, owned-functor, or explicit type-erased category.
has_config
Return whether an explicit config value is owned.
Returns: true only for a config-bearing factory overload.
input_count
Return the number of declared additional predicate inputs.
Returns: Finite cold descriptor count.