Kanzi 3.9.10
kanzi::ObjectControllerPropertySource Class Reference

Implementation of the ControllerPropertySource, for ControllerProperty value provided as a property field, either on the Activity Host node or, if the Activity Host node does not have that property, its nearest ancestor that does have that property. More...

#include <kanzi/ui/node/concept/activity/object_controller_property_source.hpp>

Inheritance diagram for kanzi::ObjectControllerPropertySource:
[legend]

Public Member Functions

BindingSourcePtr createBindingSource () override
 Implementation ControllerPropertySource::createBindingSource().
 
Variant getValue () const override
 Implementation ControllerPropertySource::getValue().
 
string getValueProviderPath () const override
 Implementation ControllerPropertySource::getValueProviderPath().
 
bool isValid () const override
 Implementation ControllerPropertySource::isValid().
 
 ObjectControllerPropertySource (AbstractPropertyType propertyType, Node &hostNode)
 Constructor.
 
- Public Member Functions inherited from kanzi::ControllerPropertySource
virtual ~ControllerPropertySource ()=default
 Destructor.
 

Detailed Description

Implementation of the ControllerPropertySource, for ControllerProperty value provided as a property field, either on the Activity Host node or, if the Activity Host node does not have that property, its nearest ancestor that does have that property.

This is a helper class for Activity Host Controller Property Manager.

Constructor & Destructor Documentation

◆ ObjectControllerPropertySource()

kanzi::ObjectControllerPropertySource::ObjectControllerPropertySource ( AbstractPropertyType propertyType,
Node & hostNode )
explicit

Constructor.

Parameters
propertyTypeProperty type used as a ControllerProperty.
hostNodeAn Exclusive Activity Host node for which to create the ControllerPropertySource.

Member Function Documentation

◆ isValid()

bool kanzi::ObjectControllerPropertySource::isValid ( ) const
overridevirtual

◆ getValue()

Variant kanzi::ObjectControllerPropertySource::getValue ( ) const
overridevirtual

◆ createBindingSource()

BindingSourcePtr kanzi::ObjectControllerPropertySource::createBindingSource ( )
overridevirtual

◆ getValueProviderPath()

string kanzi::ObjectControllerPropertySource::getValueProviderPath ( ) const
overridevirtual

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