Kanzi 3.9.10
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.
 
virtual void onPropertyChanged (PropertyNotificationReason reason)=0
 Method to be executed when property is changed.
 

Protected Member Functions

 AbstractPropertyNotificationHandler ()
 Empty constructor.
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor.
 
virtual ~AbstractPropertyNotificationHandler ()
 

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 ( )
protectedvirtual

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::RenderStatePropertyNotificationHandler, 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: