ADTF
|
Public Member Functions | |
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 | |
tResult | SetName (const IProperty &oProp) |
tResult | SetProperties (const IProperty &oProp) |
void | NotifyObservers () |
void | CreateProperties () const |
Private Attributes | |
cPropertyValue | m_oValue |
std::string | m_strName |
ucom::ant::object_ptr< ant::IProperties > | m_pChildProperties |
std::vector< IPropertyObserver * > | m_oObservers |
bool | m_bAttached = false |
Definition at line 153 of file properties_v2.h.