ADTF
|
Public Member Functions | |
property (const T &oValue) | |
property (std::string_view strName, const T &oValue) | |
property (const char *strName, const T &oValue) | |
const T & | GetValueT () const |
bool | operator== (const T &xOther) const |
property & | operator= (const T &xValue) |
Public Member Functions inherited from cProperty | |
cProperty (const cProperty &)=default | |
cProperty (cProperty &&)=default | |
cProperty & | operator= (const cProperty &)=default |
cProperty & | operator= (cProperty &&)=default |
cProperty (const ant::IProperty &oProp) | |
template<typename T > | |
cProperty (std::string_view strName, const T &xValue) | |
template<typename T > | |
cProperty (const char *strName, const T &xValue) | |
template<typename T > | |
cProperty (const T &xValue) | |
const IPropertyValue * | GetValue () const override |
IPropertyValue * | GetValue () override |
tResult | SetValue (const IPropertyValue &oValue) override |
template<typename T > | |
tResult | SetValue (const T &xValue) |
tResult | GetName (IString &&strName) const override |
tResult | SetName (const IString &strName) override |
tResult | Set (const IProperty &oProp) override |
bool | HasProperties () const override |
bool | HasAttachedProperties () const override |
tResult | SetProperties (const IProperties &pProperties) override |
will copy given properties | |
tResult | AttachProperties (const ucom::ant::iobject_ptr< IProperties > &pProperties) override |
tResult | GetAttachedProperties (IProperty &pProperty) const override |
tResult | DetachProperties () override |
tResult | GetProperties (ucom::ant::iobject_ptr< IProperties > &pProperties) override |
get subproperties for writing access | |
IProperties & | GetProperties () |
tResult | GetProperties (ucom::ant::iobject_ptr< const IProperties > &pProperties) const override |
get subproperties for readonly access | |
void | RegisterObserver (IPropertyObserver &oObserver) |
void | UnregisterObserver (IPropertyObserver &oObserver) |
Private Member Functions | |
void | InitValue (const T &oValue) |
void | ConvertAndSetValue (const T &oValue) |
void | Notify (const IProperty &) |
Implements the observer pattern. More... | |
~IPropertyObserver ()=default | |
Protected destructor. | |
Private Attributes | |
T | m_xValue |
Definition at line 235 of file properties_v2.h.
|
inlineprivatevirtual |
Implements the observer pattern.
[in] | oProperty | The changed property. |
Implements IPropertyObserver.
Definition at line 287 of file properties_v2.h.
References THROW_IF_FAILED.