Skip to navigation

holoscan::bind_predicate

Beta
View as Markdown
template <typename Object, typename Method>
BoundPredicate<std::remove_cvref_t<Object>, Method> holoscan::bind_predicate(
Object &object,
Method method
)

Create a pointer-free self-member predicate descriptor.

Returns: Copyable cold descriptor accepted by predicate.

Template parameters

Object
typename

Declaring Operator type used for each fresh Runtime instance.

Method
typename

Unambiguous member-function pointer type.

Parameters

object
Object &

Authoring self object used only for type validation; its address is not retained.

method
Method

Method identity copied for later RunSession rebinding.