ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cPropertyVariableabstract

Default implemementation of a property_variable. More...

#include <configuration.h>

Inheritance diagram for cPropertyVariable:
[legend]

Public Member Functions

void SetUnregister (IMemberPropertyUnregister &oUnregister)
 
virtual tResult GetType (IString &&strType) const =0
 Returns the identifier of the type.
 
virtual const IPropertyValueGetValue () const =0
 
- Public Member Functions inherited from IPropertyObserver
virtual void Notify (const IProperty &oProperty)=0
 Implements the observer pattern.
 

Private Attributes

IMemberPropertyUnregisterm_pUnregister = nullptr
 

Additional Inherited Members

- Protected Member Functions inherited from IPropertyObserver
 ~IPropertyObserver ()=default
 Protected destructor.
 

Detailed Description

Default implemementation of a property_variable.

Definition at line 67 of file configuration.h.

Constructor & Destructor Documentation

◆ ~cPropertyVariable()

virtual ~cPropertyVariable ( )
virtual

Reimplemented in cPropertyVariable.

Member Function Documentation

◆ GetType()

virtual tResult GetType ( IString && strType) const
pure virtual

Returns the identifier of the type.

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

Implemented in property_variable< T >, and property_variable< T >.

◆ GetValue()

virtual const IPropertyValue * GetValue ( ) const
pure virtual
Returns
The inital value.

Implemented in property_variable< T >, and property_variable< T >.

Member Data Documentation

◆ m_pUnregister

IMemberPropertyUnregister* m_pUnregister = nullptr
private

Definition at line 70 of file configuration.h.