ADTF  3.13.0
cConfiguration

Implements all functionality required by ant::IConfiguration. More...

Inheritance diagram for cConfiguration:
[legend]

Public Member Functions

 cConfiguration ()
 Default constructor.
 
virtual ~cConfiguration ()
 Destructor.
 
tResult GetProperties (adtf::ucom::ant::iobject_ptr< const IProperties > &pProperties) const
 Gets the properties with read access. More...
 
tResult GetProperties (adtf::ucom::ant::iobject_ptr< IProperties > &pProperties)
 Gets the properties with read access. More...
 
tResult AttachConfiguration (const tChar *strName, IConfiguration &oAttachedConfiguration)
 Attaches the given configuration and its properties as property tree item of this. More...
 
tResult DetachConfiguration (const tChar *strName)
 Detaches a configuration with the specified name. More...
 
tResult RegisterPropertyVariable (const tChar *strName, ant::cPropertyVariable &oPropertyVariable)
 Registers a property variable that always reflects the current value of the property. More...
 

Private Attributes

std::unique_ptr< cImplementation > m_pImplementation
 

Detailed Description

Implements all functionality required by ant::IConfiguration.

Definition at line 333 of file configuration.h.

Member Function Documentation

◆ AttachConfiguration()

tResult AttachConfiguration ( const tChar strName,
IConfiguration oAttachedConfiguration 
)

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()

tResult DetachConfiguration ( const tChar strName)

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]

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

Gets the properties with read access.

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

◆ GetProperties() [2/2]

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

Gets the properties with read access.

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

◆ RegisterPropertyVariable()

tResult RegisterPropertyVariable ( const tChar strName,
ant::cPropertyVariable oPropertyVariable 
)

Registers a property variable that always reflects the current value of the property.

Parameters
[in]strNameName of the property.
[in]oPropertyVariableThe property variable instance.
Returns
Standard result.

Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue Sep 28 2021 by doxygen 1.8.14)