Skip to navigation

holoscan::PredicateEvaluationContext

Beta
View as Markdown

Borrow deterministic evidence frozen for one predicate evaluation.

Selection entries are ordered by the compiled predicate contract: an input-driven implicit driver first, followed by additional declared predicate inputs; a clock-driven predicate has no implicit driver entry. The context is allocation-free and expires with its evaluation. It has no runtime clock lookup, graph mutation, or waiting authority.

#include <holoscan/predicate_input_view.hpp>

Constructors

PredicateEvaluationContext

Copy the same evaluation-scoped frozen evidence view.

Parameters

other
const PredicateEvaluationContext &

Context whose borrowed binding and generation evidence are copied.

Destructor

~PredicateEvaluationContext

Destroy this context without retaining any evaluation evidence.


Assignment operators

operator=

) noexcept = default

Replace this context with another evaluation-scoped borrowed binding.

Returns: This context after replacement.

Parameters

other
const PredicateEvaluationContext &

Context whose borrowed binding and generation evidence are copied.


Methods

reference_time

TimePoint holoscan::PredicateEvaluationContext::reference_time() const noexcept

Return the predicate reference coordinate.

Returns: Frozen source or scheduled-clock time used for this evaluation.

tag

Tag holoscan::PredicateEvaluationContext::tag() const noexcept

Return the candidate activation identity associated with this evaluation.

Returns: Frozen candidate tag.

tag_time

TagTime holoscan::PredicateEvaluationContext::tag_time() const noexcept

Return the deterministic logical candidate coordinate.

Returns: Frozen tag time.

selections

std::span<const PredicateInputSelection> holoscan::PredicateEvaluationContext::selections() const noexcept

Return declaration-ordered predicate input outcomes.

Returns: Immutable borrowed span valid only for this evaluation generation.

validate

void holoscan::PredicateEvaluationContext::validate() const noexcept

Member variables

NameTypeDescription
binding_detail::PredicateEvaluationBinding