ADTF  3.18.2
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 
12 namespace adtf
13 {
14 namespace base
15 {
16 namespace ant
17 {
23  {
24  public:
26  ADTF_IID(IConfiguration, "configuration.ant.base.adtf.iid");
27 
28  protected:
30  virtual ~IConfiguration() = default;
31 
32  public:
39 
46 
53  virtual tResult AttachConfiguration(const char* strName, IConfiguration& oAttachedConfiguration) = 0;
60  virtual tResult DetachConfiguration(const char* strName) = 0;
61  };
62 
63 } //namespace ant
64 
66 } //namespace base
67 } // namespace adtf
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.