ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
configuration_intf.h
Go to the documentation of this file.
1
7#pragma once
8#include "property_intf.h"
9
12
13namespace adtf
14{
15namespace base
16{
17namespace ant
18{
24 {
25 public:
27 ADTF_IID(IConfiguration, "configuration.ant.base.adtf.iid");
28
29 protected:
31 virtual ~IConfiguration() = default;
32
33 public:
40
47
55 ADTF3_DEPRECATED("Attachments are deprecated, they suffer from issues with observers")
56 virtual tResult AttachConfiguration(const char* strName, IConfiguration& oAttachedConfiguration) = 0;
64 ADTF3_DEPRECATED("Attachments are deprecated, they suffer from issues with observers")
65 virtual tResult DetachConfiguration(const char* strName) = 0;
66 };
67
68} //namespace ant
69
70using ant::IConfiguration;
71} //namespace base
72} // namespace adtf
Copyright © Audi Electronics Venture GmbH.
#define ADTF3_DEPRECATED(_depr_message_)
Mark a function or variable as deprecated.
Copyright © Audi Electronics Venture GmbH.
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
ucom Interface to a objects configuration.
virtual tResult GetProperties(ucom::ant::iobject_ptr< IProperties > &pProperties)=0
Gets the properties with read/write access.
ADTF_IID(IConfiguration, "configuration.ant.base.adtf.iid")
defintion of interace id
virtual tResult AttachConfiguration(const char *strName, IConfiguration &oAttachedConfiguration)=0
Attaches the given configuration and its properties as property tree item of this.
virtual tResult GetProperties(ucom::ant::iobject_ptr< const IProperties > &pProperties) const =0
Gets the properties with read access.
virtual ~IConfiguration()=default
not destructable
virtual tResult DetachConfiguration(const char *strName)=0
Detaches a configuration with the specified name.
Base object pointer to realize binary compatible reference counting in interface methods.
Namespace for all functionality of the ADTF Base SDK provided since v3.0.
Namespace for the ADTF Base SDK.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.