Kanzi  3.9.6
Kanzi Engine API
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(). More...
 
Variant getValue () const override
 Implementation ControllerPropertySource::getValue(). More...
 
string getValueProviderPath () const override
 Implementation ControllerPropertySource::getValueProviderPath(). More...
 
bool isValid () const override
 Implementation ControllerPropertySource::isValid(). More...
 
 ObjectControllerPropertySource (AbstractPropertyType propertyType, Node &hostNode)
 Constructor. More...
 
- Public Member Functions inherited from kanzi::ControllerPropertySource
virtual ~ControllerPropertySource ()=default
 Destructor. More...
 

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: