Skip to content

KDBindings::ImmediateBindingEvaluator

More...

#include <binding_evaluator.h>

Inherits from KDBindings::BindingEvaluator

Public Functions

Name
ImmediateBindingEvaluator instance()

Additional inherited members

Public Functions inherited from KDBindings::BindingEvaluator

Name
BindingEvaluator() =default
BindingEvaluator(BindingEvaluator && other) =delete
BindingEvaluator(const BindingEvaluator & ) =default
void evaluateAll() const
BindingEvaluator & operator=(BindingEvaluator && other) =delete
BindingEvaluator & operator=(const BindingEvaluator & ) =default

Friends inherited from KDBindings::BindingEvaluator

Name
class Binding

Detailed Description

1
class KDBindings::ImmediateBindingEvaluator;

This subclass of BindingEvaluator doesn't do anything special on its own. It is used together with a template specialization of Binding to provide old-school, immediate mode Bindings.

Any Binding that is constructed with an ImmediateBindingEvaluator will not wait for the evaluator to call evaluateAll, but rather evaluate the Binding immediately when any of its bindables (i.e. Property instances) change. This can lead to a PropertyBinding being evaluated many times before the result is ever used in a typical GUI application.

Public Functions Documentation

function instance

1
static inline ImmediateBindingEvaluator instance()

Updated on 2024-04-14 at 00:00:43 +0000