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

#include <configuration.h>

Inherits adtf::base::ant::IPropertyObserver.

Inherited by adtf::base::ant::property_variable< T >, and adtf::base::giant::cPropertyVariable.

Public Member Functions

void SetUnregister (IMemberPropertyUnregister &oUnregister)
 
virtual tResult GetType (IString &&strType) const =0
 
virtual const IPropertyValueGetValue () const =0
 
- Public Member Functions inherited from adtf::base::ant::IPropertyObserver
virtual void Notify (const IProperty &oProperty)=0
 

Additional Inherited Members

- Protected Member Functions inherited from adtf::base::ant::IPropertyObserver
 ~IPropertyObserver ()=default
 Protected destructor.
 

Detailed Description

Default implemementation of a property_variable

Constructor & Destructor Documentation

◆ ~cPropertyVariable()

virtual adtf::base::ant::cPropertyVariable::~cPropertyVariable ( )
virtual

Member Function Documentation

◆ GetType()

virtual tResult adtf::base::ant::cPropertyVariable::GetType ( IString && strType) const
pure virtual

Returns the identifier of the type.

Parameters
[out]strTypeThe type identifier.
Returns
Standard result.

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

◆ GetValue()

virtual const IPropertyValue * adtf::base::ant::cPropertyVariable::GetValue ( ) const
pure virtual

◆ SetUnregister()

void adtf::base::ant::cPropertyVariable::SetUnregister ( IMemberPropertyUnregister & oUnregister)

Sets the unregister callback for this property variable. This is required to automatically unregister the property variable from observed properties set if the property variable is destroyed.

Parameters
[in]oUnregisterThe unregister interface to set.

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