Holds the runtime state of a ResourceBindingProcessor. More...
#include <kanzi/core.ui/binding/resource_binding_processor_runtime.hpp>
Public Member Functions | |
| void | onResourceChange () |
| Function executed on resource change. | |
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. | |
Static Public Member Functions | |
| static unique_ptr< ResourceBindingProcessorRuntime > | create (ResourceBindingProcessor &processor) |
| Creates a ResourceBindingProcessorRuntime. | |
Static Public Member Functions inherited from kanzi::InstructionBindingProcessorRuntime | |
| static unique_ptr< InstructionBindingProcessorRuntime > | create (InstructionBindingProcessor &processor) |
| Creates an InstructionBindingProcessorRuntime. | |
Protected Types | |
| using | ResourceListener |
| Resource listener type. | |
| using | ResourceListenerPtr |
| Resource listener unique pointer type. | |
Protected Member Functions | |
| void | attachOverride (AbstractBindingRuntime &bindingRuntime) |
| BindingProcessorRuntime::attachOverride() implementation. | |
| void | detachOverride () |
| BindingProcessorRuntime::detachOverride() implementation. | |
| ResourceBindingProcessorRuntime (ResourceBindingProcessor &processor) | |
| Constructor. | |
| bool | validateOverride (Variant &value) |
| BindingProcessorRuntime::validateOverride() implementation. | |
Protected Member Functions inherited from kanzi::InstructionBindingProcessorRuntime | |
| InstructionBindingProcessor & | getInstructionBindingProcessor () const |
| Casts BindingProcess into InstructionBindingProcessor. | |
| InstructionBindingProcessorRuntime (InstructionBindingProcessor &processor) | |
| Constructor. | |
Protected Member Functions inherited from kanzi::BindingProcessorRuntime | |
| BindingProcessorRuntime (BindingProcessor &processor) | |
| Constructor. | |
Protected Attributes | |
| ResourceListenerPtr | m_listener |
| Listener for resource changes. | |
| NodeWeakPtr | m_node |
| Node attached to (for recreating the listener). | |
Protected Attributes inherited from kanzi::InstructionBindingProcessorRuntime | |
| Variant * | m_inputRegister1 |
| Attached input register. | |
| Variant * | m_inputRegister2 |
| Attached input register. | |
| Variant * | m_inputRegister3 |
| Attached input register. | |
| Variant * | m_outputRegister |
| Attached output register. | |
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. | |
Holds the runtime state of a ResourceBindingProcessor.
Resource listener type.
Resource listener unique pointer type.
|
explicitprotected |
Constructor.
| processor | The ResourceBindingProcessor who's runtime state is held by the created ResourceBindingProcessorRuntime. |
|
static |
Creates a ResourceBindingProcessorRuntime.
| processor | The ResourceBindingProcessor who's runtime state is held by the created ResourceBindingProcessorRuntime. |
| void kanzi::ResourceBindingProcessorRuntime::onResourceChange | ( | ) |
Function executed on resource change.
When Kanzi executes this function, it also re-executes the binding.
|
protectedvirtual |
BindingProcessorRuntime::attachOverride() implementation.
Reimplemented from kanzi::InstructionBindingProcessorRuntime.
|
protectedvirtual |
BindingProcessorRuntime::detachOverride() implementation.
Reimplemented from kanzi::InstructionBindingProcessorRuntime.
BindingProcessorRuntime::validateOverride() implementation.
Reimplemented from kanzi::InstructionBindingProcessorRuntime.
|
protected |
Node attached to (for recreating the listener).
|
protected |
Listener for resource changes.