ADTF
Loading...
Searching...
No Matches
adtf::base::ant::IPropertyObserver Class Referenceabstract

#include <property_intf.h>

Inherited by adtf::base::spider::property< T, typename std::enable_if<!detail::is_user_defined_property_value< T >::value >::type > [private], adtf::base::ant::cPropertyVariable, and adtf::base::spider::property< T, Enable > [private].

Public Member Functions

virtual void Notify (const IProperty &oProperty)=0
 

Protected Member Functions

 ~IPropertyObserver ()=default
 Protected destructor.
 

Detailed Description

Observer Interface to react on property changes.

See also
IProperties::RegisterPropertyObserver

Member Function Documentation

◆ Notify()

virtual void adtf::base::ant::IPropertyObserver::Notify ( const IProperty & oProperty)
pure virtual

Implements the observer pattern

Parameters
[in]oPropertyThe changed property.
Note
If oProperty is a subproperty, you will only receive the name of the subproperty without path or parent. Instead of implementing a adtf::base::ant::IPropertyObserver for each required property, you can also use adtf::base::hollow::property_variable::SetPropertyChangedCallback().

Implemented in adtf::base::ant::property_variable< T >, adtf::base::giant::property_variable< T >, adtf::base::hollow::property_variable< T >, and adtf::base::property_variable< T >.


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