ADTF
Loading...
Searching...
No Matches
adtf::base::ant::cPropertyBase Class Reference

#include <property.h>

Inherits adtf::base::ant::IProperty.

Inherited by adtf::base::ant::property<::adtf::base::ant::property_attached_configuration_type >, adtf::base::ant::detail::cPropertyVariableHelper, and adtf::base::ant::property< T >.

Public Member Functions

tResult GetName (IString &&strName) const override
 
bool HasProperties () const override
 
bool HasAttachedProperties () const override
 
tResult SetProperties (const IProperties &oProperties) override
 will copy given properties
 
tResult AttachProperties (const ucom::ant::iobject_ptr< IProperties > &pAttachedProperties) override
 will set given properties to be attached
 
tResult GetAttachedProperties (IProperty &oProperty) const override
 
tResult DetachProperties () override
 
tResult GetProperties (ucom::ant::iobject_ptr< IProperties > &pSubProperties) override
 get subproperties for writing access
 
tResult GetProperties (ucom::ant::iobject_ptr< const IProperties > &pSubProperties) const override
 get subproperties for readonly access
 
tResult SetName (const IString &strName) override
 
- Public Member Functions inherited from adtf::base::ant::IProperty
virtual const IPropertyValueGetValue () const =0
 
virtual IPropertyValueGetValue ()=0
 
virtual tResult SetValue (const IPropertyValue &oValue)=0
 
virtual tResult Set (const IProperty &oProp)=0
 

Protected Attributes

util::cString m_strName
 
ucom::object_ptr< IPropertiesm_poSubProperties = nullptr
 
ucom::object_ptr< IPropertiesm_poAttachedProperties = nullptr
 

Detailed Description

Base implementation of IProperty.

Member Function Documentation

◆ AttachProperties()

tResult adtf::base::ant::cPropertyBase::AttachProperties ( const ucom::ant::iobject_ptr< IProperties > & pAttachedProperties)
overridevirtual

will set given properties to be attached

Implements adtf::base::ant::IProperty.

◆ DetachProperties()

tResult adtf::base::ant::cPropertyBase::DetachProperties ( )
overridevirtual
Deprecated
Attachments are deprecated, they suffer from issues with observers.

Implements adtf::base::ant::IProperty.

◆ GetAttachedProperties()

tResult adtf::base::ant::cPropertyBase::GetAttachedProperties ( IProperty & pProperty) const
overridevirtual
Deprecated
Attachments are deprecated, they suffer from issues with observers.

Implements adtf::base::ant::IProperty.

◆ GetName()

tResult adtf::base::ant::cPropertyBase::GetName ( IString && strName) const
overridevirtual

◆ GetProperties() [1/2]

tResult adtf::base::ant::cPropertyBase::GetProperties ( ucom::ant::iobject_ptr< const IProperties > & pSubProperties) const
overridevirtual

get subproperties for readonly access

Implements adtf::base::ant::IProperty.

◆ GetProperties() [2/2]

tResult adtf::base::ant::cPropertyBase::GetProperties ( ucom::ant::iobject_ptr< IProperties > & pSubProperties)
overridevirtual

get subproperties for writing access

Implements adtf::base::ant::IProperty.

◆ HasAttachedProperties()

bool adtf::base::ant::cPropertyBase::HasAttachedProperties ( ) const
overridevirtual

◆ HasProperties()

bool adtf::base::ant::cPropertyBase::HasProperties ( ) const
overridevirtual

◆ SetName()

tResult adtf::base::ant::cPropertyBase::SetName ( const IString & strName)
overridevirtual

◆ SetProperties()

tResult adtf::base::ant::cPropertyBase::SetProperties ( const IProperties & oProperties)
overridevirtual

will copy given properties

Implements adtf::base::ant::IProperty.


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