|
ADTF
|
Property Variable template for the given T. A Property Variable will store a copy of a property value of the specified type T.
More...
#include <configuration.h>
Inherits adtf::base::ant::cPropertyVariable, and adtf::base::ant::property_value< T >.
Inherited by adtf::base::flash::property_variable< T >.
Public Member Functions | |
| property_variable () | |
| CTOR. | |
| property_variable (const T &oValue) | |
| void | Notify (const IProperty &oProperty) override |
| tResult | GetType (IString &&strType) const override |
| const IPropertyValue * | GetValue () const override |
| const T & | operator* () const |
| operator const T & () const | |
| bool | operator== (const T &oVal) |
| bool | operator!= (const T &oVal) |
Public Member Functions inherited from adtf::base::ant::cPropertyVariable | |
| void | SetUnregister (IMemberPropertyUnregister &oUnregister) |
Additional Inherited Members | |
Protected Member Functions inherited from adtf::base::ant::IPropertyObserver | |
| ~IPropertyObserver ()=default | |
| Protected destructor. | |
Property Variable template for the given T. A Property Variable will store a copy of a property value of the specified type T.
If it was registered to a property set adtf::base::ant::IProperties by IProperties::RegisterPropertyObserver the copy is automatically updated on property changes.
| T | The type of the property |
|
inline |
type initializing CTOR
| oValue | [in] initializes the property value immediately |
|
inlineoverridevirtual |
Returns the identifier of the type.
| [out] | strType | The type identifier. |
Implements adtf::base::ant::cPropertyVariable.
|
inlineoverridevirtual |
Implements adtf::base::ant::cPropertyVariable.
|
inlineoverridevirtual |
Implements the observer pattern
| [in] | oProperty | The changed property. |
Implements adtf::base::ant::IPropertyObserver.