Kanzi  3.9.8
Kanzi Engine C++ 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 ()
 

Detailed Description

Abstract property notification handler.

Constructor & Destructor Documentation

kanzi::AbstractPropertyNotificationHandler::AbstractPropertyNotificationHandler ( )
inlineexplicitprotected

Empty constructor.

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

Constructor.

Parameters
propertyTypeProperty type to attach on.
virtual kanzi::AbstractPropertyNotificationHandler::~AbstractPropertyNotificationHandler ( )
protectedvirtual

Member Function Documentation

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.

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: