HydroCouple  2.0.0
HydroCouple Interface Definitions
HydroCouple::IPropertyChanged Class Referenceabstract

IPropertyChanged interface is used to emit signal/event when a property of an object changes. More...

#include <hydrocouple.h>

Inheritance diagram for HydroCouple::IPropertyChanged:
Collaboration diagram for HydroCouple::IPropertyChanged:

Public Member Functions

virtual ~IPropertyChanged ()=0
 IPropertyChanged::~IPropertyChanged is a virtual destructor. More...
 
virtual void registerPropertyChangedListener (const function< void(const any &, const string &)> &propertyChangedListener)=0
 IPropertyChanged::registerPropertyChangedListener() registers a listener to be called when a property of an object changes. More...
 
virtual void deRegisterPropertyChangedListener (const function< void(const any &, const string &propertyName)> &propertyChangedListener)=0
 IPropertyChanged::deRegisterPropertyChangedListener() deregisters a listener that is called when a property of an object changes. More...
 

Detailed Description

IPropertyChanged interface is used to emit signal/event when a property of an object changes.

Constructor & Destructor Documentation

◆ ~IPropertyChanged()

virtual HydroCouple::IPropertyChanged::~IPropertyChanged ( )
pure virtual

IPropertyChanged::~IPropertyChanged is a virtual destructor.

Member Function Documentation

◆ deRegisterPropertyChangedListener()

virtual void HydroCouple::IPropertyChanged::deRegisterPropertyChangedListener ( const function< void(const any &, const string &propertyName)> &  propertyChangedListener)
pure virtual

IPropertyChanged::deRegisterPropertyChangedListener() deregisters a listener that is called when a property of an object changes.

Parameters
propertyChangedListeneris a function that is called when a property of an object changes.

◆ registerPropertyChangedListener()

virtual void HydroCouple::IPropertyChanged::registerPropertyChangedListener ( const function< void(const any &, const string &)> &  propertyChangedListener)
pure virtual

IPropertyChanged::registerPropertyChangedListener() registers a listener to be called when a property of an object changes.

Parameters
propertyChangedListeneris a function that is called when a property of an object changes. he function takes two parameters, the first is the object whose property changed and the second is the name of the property that changed.

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