Kanzi 3.9.10
kanzi::ConstraintBindingProcessorRuntime< T > Struct Template Reference

Holds the runtime state of a ConstraintBindingProcessor. More...

#include <kanzi/core.ui/binding/constraint_binding_processor_runtime.hpp>

Inheritance diagram for kanzi::ConstraintBindingProcessorRuntime< T >:
[legend]

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

Nodem_node
 The node who's change flag is set on validate.
 
optional< Tm_value
 Last value from the validator. Used to detect change.
 
- Protected Attributes inherited from kanzi::BindingProcessorRuntime
AbstractBindingRuntimem_bindingRuntime
 The binding runtime containing the BindingProcessorRuntime.
 
BindingProcessorm_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.
 
AbstractBindingRuntimegetBindingRuntime () const
 Gets the binding runtime.
 
BindingProcessorgetProcessor () const
 Gets the binding processor.
 
bool validate (Variant &value)
 Returns true if the BindingProcessorRuntime has a valid state.
 
virtual ~BindingProcessorRuntime ()=default
 Destructor.
 

Detailed Description

template<typename T>
struct kanzi::ConstraintBindingProcessorRuntime< T >

Holds the runtime state of a ConstraintBindingProcessor.

Since
Kanzi 3.9.3

Constructor & Destructor Documentation

◆ ConstraintBindingProcessorRuntime()

template<typename T >
kanzi::ConstraintBindingProcessorRuntime< T >::ConstraintBindingProcessorRuntime ( ConstraintBindingProcessor & processor)
inlineexplicitprotected

Constructor.

Parameters
processorThe ConstraintBindingProcessor who's runtime state is held by the created ConstraintBindingProcessorRuntime.

Member Function Documentation

◆ create()

Creates an ConstraintBindingProcessorRuntime.

Parameters
processorThe ConstraintBindingProcessor who's runtime state is held by the created ConstraintBindingProcessorRuntime.
Returns
A ConstraintBindingProcessorRuntime instance.

◆ attachOverride()

template<typename T >
void kanzi::ConstraintBindingProcessorRuntime< T >::attachOverride ( AbstractBindingRuntime & bindingRuntime)
inlineoverrideprotectedvirtual

◆ detachOverride()

template<typename T >
void kanzi::ConstraintBindingProcessorRuntime< T >::detachOverride ( )
inlineoverrideprotectedvirtual

◆ validateOverride()

template<typename T >
bool kanzi::ConstraintBindingProcessorRuntime< T >::validateOverride ( Variant & value)
inlineoverrideprotectedvirtual

Member Data Documentation

◆ m_node

template<typename T >
Node* kanzi::ConstraintBindingProcessorRuntime< T >::m_node
protected

The node who's change flag is set on validate.

◆ m_value

template<typename T >
optional<T> kanzi::ConstraintBindingProcessorRuntime< T >::m_value
protected

Last value from the validator. Used to detect change.


The documentation for this struct was generated from the following file: