ADTF
configuration_intf.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "property_intf.h"
9 
10 #include <adtfucom3/adtf_ucom3.h>
11 #include <adtf_base_deprecated.h>
12 
13 namespace adtf
14 {
15 namespace base
16 {
17 namespace 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 
70 using 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.
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 entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.