Kanzi 4.0.0-beta2
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 ()=default
 Default constructor.
 
 AbstractPropertyNotificationHandler (AbstractPropertyNotificationHandler &&other) noexcept
 Move constructor.
 
 AbstractPropertyNotificationHandler (AbstractPropertyType propertyType)
 Constructor.
 
 AbstractPropertyNotificationHandler (const AbstractPropertyNotificationHandler &)=delete
 Deleted copy constructor.
 
AbstractPropertyNotificationHandleroperator= (AbstractPropertyNotificationHandler &&other) noexcept
 Move operator.
 
AbstractPropertyNotificationHandleroperator= (const AbstractPropertyNotificationHandler &)=delete
 Deleted copy operator.
 
virtual ~AbstractPropertyNotificationHandler ()
 Destructor.
 

Detailed Description

Abstract property notification handler.

Constructor & Destructor Documentation

◆ AbstractPropertyNotificationHandler() [1/4]

kanzi::AbstractPropertyNotificationHandler::AbstractPropertyNotificationHandler ( )
explicitprotecteddefault

Default constructor.

◆ AbstractPropertyNotificationHandler() [2/4]

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

Constructor.

Parameters
propertyTypeProperty type to attach on.

◆ ~AbstractPropertyNotificationHandler()

virtual kanzi::AbstractPropertyNotificationHandler::~AbstractPropertyNotificationHandler ( )
protectedvirtual

Destructor.

◆ AbstractPropertyNotificationHandler() [3/4]

kanzi::AbstractPropertyNotificationHandler::AbstractPropertyNotificationHandler ( AbstractPropertyNotificationHandler && other)
inlineprotectednoexcept

Move constructor.

Parameters
otherSource object.

◆ AbstractPropertyNotificationHandler() [4/4]

kanzi::AbstractPropertyNotificationHandler::AbstractPropertyNotificationHandler ( const AbstractPropertyNotificationHandler & )
protecteddelete

Deleted copy constructor.

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.

◆ operator=() [1/2]

AbstractPropertyNotificationHandler & kanzi::AbstractPropertyNotificationHandler::operator= ( AbstractPropertyNotificationHandler && other)
inlineprotectednoexcept

Move operator.

Parameters
otherSource object.

◆ operator=() [2/2]

AbstractPropertyNotificationHandler & kanzi::AbstractPropertyNotificationHandler::operator= ( const AbstractPropertyNotificationHandler & )
protecteddelete

Deleted copy operator.


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