Holds the runtime state of a ConstraintBindingProcessor. More...
#include <kanzi/core.ui/binding/constraint_binding_processor_runtime.hpp>
Static Public Member Functions | |
static unique_ptr< ConstraintBindingProcessorRuntime< T > > | create (ConstraintBindingProcessor &processor) |
Creates an ConstraintBindingProcessorRuntime. More... | |
Protected Member Functions | |
void | attachOverride (AbstractBindingRuntime &bindingRuntime, BindingLookupContext &lookupContext) override |
BindingProcessorRuntime::attachOverride() implementation. More... | |
ConstraintBindingProcessorRuntime (ConstraintBindingProcessor &processor) | |
Constructor. More... | |
void | detachOverride () override |
BindingProcessorRuntime::detachOverride() implementation. More... | |
bool | validateOverride (Variant &value) override |
BindingProcessorRuntime::validateOverride() implementation. More... | |
Protected Member Functions inherited from kanzi::BindingProcessorRuntime | |
BindingProcessorRuntime (BindingProcessor &processor) | |
Constructor. More... | |
Protected Attributes | |
Node * | m_node |
The node who's change flag is set on validate. More... | |
optional< T > | m_value |
Last value from the validator. Used to detect change. More... | |
Protected Attributes inherited from kanzi::BindingProcessorRuntime | |
AbstractBindingRuntime * | m_bindingRuntime |
The binding runtime containing the BindingProcessorRuntime. More... | |
BindingLookupContext * | m_lookupContext |
Binding lookup context for the processor. More... | |
BindingProcessor & | m_processor |
The processor whose runtime state is held by the BindingProcessorRuntime. More... | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::BindingProcessorRuntime | |
void | attach (AbstractBindingRuntime &bindingRuntime, BindingLookupContext &lookupContext) |
Called when the binding source or target runtime containing the processor runtime is being attached. More... | |
void | detach () |
Called when the binding source or target runtime containing the processor runtime is being detached. More... | |
AbstractBindingRuntime * | getBindingRuntime () const |
Gets the binding runtime. More... | |
BindingProcessor & | getProcessor () const |
Gets the binding processor. More... | |
bool | validate (Variant &value) |
Returns true if the BindingProcessorRuntime has a valid state. More... | |
virtual | ~BindingProcessorRuntime ()=default |
Destructor. More... | |
Holds the runtime state of a ConstraintBindingProcessor.
|
inlineexplicitprotected |
Constructor.
processor | The ConstraintBindingProcessor who's runtime state is held by the created ConstraintBindingProcessorRuntime. |
|
inlinestatic |
Creates an ConstraintBindingProcessorRuntime.
processor | The ConstraintBindingProcessor who's runtime state is held by the created ConstraintBindingProcessorRuntime. |
|
inlineoverrideprotectedvirtual |
BindingProcessorRuntime::attachOverride() implementation.
Reimplemented from kanzi::BindingProcessorRuntime.
|
inlineoverrideprotectedvirtual |
BindingProcessorRuntime::detachOverride() implementation.
Reimplemented from kanzi::BindingProcessorRuntime.
|
inlineoverrideprotectedvirtual |
BindingProcessorRuntime::validateOverride() implementation.
Implements kanzi::BindingProcessorRuntime.
|
protected |
The node who's change flag is set on validate.
|
protected |
Last value from the validator. Used to detect change.