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

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

bool kanzi::ObjectControllerPropertySource::isValid ( ) const
overridevirtual
Variant kanzi::ObjectControllerPropertySource::getValue ( ) const
overridevirtual
BindingSourcePtr kanzi::ObjectControllerPropertySource::createBindingSource ( )
overridevirtual
string kanzi::ObjectControllerPropertySource::getValueProviderPath ( ) const
overridevirtual

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