Kanzi  3.9.6
Kanzi Engine API
kanzi::AbstractPropertyNotificationHandler Class Referenceabstract

Abstract property notification handler. More...

#include <kanzi/core/property/abstract_property_notification_handler.hpp>

Inheritance diagram for kanzi::AbstractPropertyNotificationHandler:
[legend]

Public Member Functions

AbstractPropertyType getPropertyType () const
 Get the property type this handler is listening. More...
 
virtual void onPropertyChanged (PropertyNotificationReason reason)=0
 Method to be executed when property is changed. More...
 

Protected Member Functions

 AbstractPropertyNotificationHandler ()
 Empty constructor. More...
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor. More...
 
virtual ~AbstractPropertyNotificationHandler ()=default
 

Detailed Description

Abstract property notification handler.

Constructor & Destructor Documentation

◆ AbstractPropertyNotificationHandler() [1/2]

kanzi::AbstractPropertyNotificationHandler::AbstractPropertyNotificationHandler ( )
inlineexplicitprotected

Empty constructor.

◆ AbstractPropertyNotificationHandler() [2/2]

kanzi::AbstractPropertyNotificationHandler::AbstractPropertyNotificationHandler ( AbstractPropertyType  propertyType)
inlineexplicitprotected

Constructor.

Parameters
propertyTypeProperty type to attach on.

◆ ~AbstractPropertyNotificationHandler()

virtual kanzi::AbstractPropertyNotificationHandler::~AbstractPropertyNotificationHandler ( )
protectedvirtualdefault

Member Function Documentation

◆ onPropertyChanged()

virtual void kanzi::AbstractPropertyNotificationHandler::onPropertyChanged ( PropertyNotificationReason  reason)
pure virtual

Method to be executed when property is changed.

Parameters
reasonWhy property was changed.

Implemented in kanzi::RenderValuePropertyNotificationHandlerBase, and kanzi::PropertyListener.

◆ getPropertyType()

AbstractPropertyType kanzi::AbstractPropertyNotificationHandler::getPropertyType ( ) const
inline

Get the property type this handler is listening.

Returns
Property type.

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