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. | |
Protected Member Functions | |
void | attachOverride (AbstractBindingRuntime &bindingRuntime) override |
BindingProcessorRuntime::attachOverride() implementation. | |
ConstraintBindingProcessorRuntime (ConstraintBindingProcessor &processor) | |
Constructor. | |
void | detachOverride () override |
BindingProcessorRuntime::detachOverride() implementation. | |
bool | validateOverride (Variant &value) override |
BindingProcessorRuntime::validateOverride() implementation. | |
Protected Member Functions inherited from kanzi::BindingProcessorRuntime | |
BindingProcessorRuntime (BindingProcessor &processor) | |
Constructor. | |
Protected Attributes | |
Node * | m_node |
The node who's change flag is set on validate. | |
optional< T > | m_value |
Last value from the validator. Used to detect change. | |
Protected Attributes inherited from kanzi::BindingProcessorRuntime | |
AbstractBindingRuntime * | m_bindingRuntime |
The binding runtime containing the BindingProcessorRuntime. | |
BindingProcessor & | m_processor |
The processor whose runtime state is held by the BindingProcessorRuntime. | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::BindingProcessorRuntime | |
void | attach (AbstractBindingRuntime &bindingRuntime) |
Called when the binding source or target runtime containing the processor runtime is being attached. | |
void | detach () |
Called when the binding source or target runtime containing the processor runtime is being detached. | |
AbstractBindingRuntime * | getBindingRuntime () const |
Gets the binding runtime. | |
BindingProcessor & | getProcessor () const |
Gets the binding processor. | |
bool | validate (Variant &value) |
Returns true if the BindingProcessorRuntime has a valid state. | |
virtual | ~BindingProcessorRuntime ()=default |
Destructor. | |
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.