ADTF
IConfigurationabstract

ucom Interface to a objects configuration. More...

Public Member Functions

 ADTF_IID (IConfiguration, "configuration.ant.base.adtf.iid")
 defintion of interace id
 
virtual tResult GetProperties (ucom::ant::iobject_ptr< const IProperties > &pProperties) const =0
 Gets the properties with read access. More...
 
virtual tResult GetProperties (ucom::ant::iobject_ptr< IProperties > &pProperties)=0
 Gets the properties with read/write access. More...
 
virtual tResult AttachConfiguration (const char *strName, IConfiguration &oAttachedConfiguration)=0
 Attaches the given configuration and its properties as property tree item of this. More...
 
virtual tResult DetachConfiguration (const char *strName)=0
 Detaches a configuration with the specified name. More...
 

Protected Member Functions

virtual ~IConfiguration ()=default
 not destructable
 

Detailed Description

ucom Interface to a objects configuration.

Remarks
: This is no object interface !

Definition at line 22 of file configuration_intf.h.

Member Function Documentation

◆ AttachConfiguration()

virtual tResult AttachConfiguration ( const char *  strName,
IConfiguration oAttachedConfiguration 
)
pure virtual

Attaches the given configuration and its properties as property tree item of this.

Parameters
[in]strNamename of the tree item.
[in]oAttachedConfigurationconfiguration which properties are attached.
Returns
Standard Result Code

◆ DetachConfiguration()

virtual tResult DetachConfiguration ( const char *  strName)
pure virtual

Detaches a configuration with the specified name.

Parameters
[in]strNamename of the tree item.
Returns
Standard Result Code
Return values
ERR_NOT_FOUNDThe tree item with strName was not found.

◆ GetProperties() [1/2]

virtual tResult GetProperties ( ucom::ant::iobject_ptr< const IProperties > &  pProperties) const
pure virtual

Gets the properties with read access.

Parameters
[in,out]pPropertiesobject_ptr to the objects properties.
Returns
Standard Result Code

Referenced by adtf::base::ant::get_property(), and adtf::base::ant::set_property().

◆ GetProperties() [2/2]

virtual tResult GetProperties ( ucom::ant::iobject_ptr< IProperties > &  pProperties)
pure virtual

Gets the properties with read/write access.

Parameters
[in,out]pPropertiesobject_ptr to to the objects properties.
Returns
Standard Result Code