Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 

Protected Member Functions

void attachOverride (AbstractBindingRuntime &bindingRuntime) 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

Nodem_node
 The node who's change flag is set on validate. More...
 
optional< Tm_value
 Last value from the validator. Used to detect change. More...
 
- Protected Attributes inherited from kanzi::BindingProcessorRuntime
AbstractBindingRuntimem_bindingRuntime
 The binding runtime containing the BindingProcessorRuntime. More...
 
BindingProcessorm_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)
 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...
 
AbstractBindingRuntimegetBindingRuntime () const
 Gets the binding runtime. More...
 
BindingProcessorgetProcessor () 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...
 

Detailed Description

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

Holds the runtime state of a ConstraintBindingProcessor.

Since
Kanzi 3.9.3

Constructor & Destructor Documentation

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

template<typename T >
static unique_ptr<ConstraintBindingProcessorRuntime<T> > kanzi::ConstraintBindingProcessorRuntime< T >::create ( ConstraintBindingProcessor processor)
inlinestatic

Creates an ConstraintBindingProcessorRuntime.

Parameters
processorThe ConstraintBindingProcessor who's runtime state is held by the created ConstraintBindingProcessorRuntime.
Returns
A ConstraintBindingProcessorRuntime instance.
template<typename T >
void kanzi::ConstraintBindingProcessorRuntime< T >::attachOverride ( AbstractBindingRuntime bindingRuntime)
inlineoverrideprotectedvirtual
template<typename T >
void kanzi::ConstraintBindingProcessorRuntime< T >::detachOverride ( )
inlineoverrideprotectedvirtual
template<typename T >
bool kanzi::ConstraintBindingProcessorRuntime< T >::validateOverride ( Variant value)
inlineoverrideprotectedvirtual

Member Data Documentation

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

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

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: