Skip to navigation

holoscan::BoundPredicate

Beta
View as Markdown
template <typename Object, typename Method>

Own a pointer-free self-member method descriptor for Runtime-Operator rebinding.

This cold value stores the method identity but never the address of the authoring object passed to bind_predicate. Plan compilation validates the declaring type and each RunSession rebinds the method to its fresh Runtime Operator instance.

#include <holoscan/predicate.hpp>

Template parameters

Object
typename

Declaring Operator type.

Method
typename

Unambiguous member-function pointer type.


Constructors

BoundPredicate

holoscan::BoundPredicate<Object, Method>::BoundPredicate(
Method method
) noexcept

Construct one pointer-free method descriptor.

Parameters

method
Method

Unambiguous self-member method identity to copy.


Methods

method

Method holoscan::BoundPredicate<Object, Method>::method() const noexcept

Return the copied member-function identity.

Returns: Method pointer with no receiver address.


Types

Typedefs

NameDefinitionDescription
object_typeObjectName the declaring runtime Operator type used for rebinding.

Member variables

NameTypeDescription
method_Method