Medical Imaging Interaction Toolkit  2018.4.99-b7f3afaa
Medical Imaging Interaction Toolkit
berryIExtensionPoint.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef BERRYIEXTENSIONPOINT_H_
14 #define BERRYIEXTENSIONPOINT_H_
15 
16 #include <berryObject.h>
17 
18 namespace berry {
19 
20 struct IConfigurationElement;
21 struct IContributor;
22 struct IExtension;
23 
56 struct IExtensionPoint : public virtual Object
57 {
58 
60 
61  ~IExtensionPoint() override;
62 
73  virtual QList<SmartPointer<IConfigurationElement> > GetConfigurationElements() const = 0;
74 
81  virtual QString GetNamespaceIdentifier() const = 0;
82 
89  virtual SmartPointer<IContributor> GetContributor() const = 0;
90 
102  virtual SmartPointer<IExtension> GetExtension(const QString& extensionId) const = 0;
103 
111  virtual QList<SmartPointer<IExtension> > GetExtensions() const = 0;
112 
125  virtual QString GetLabel() const = 0;
126 
136  virtual QString GetSimpleIdentifier() const = 0;
137 
149  virtual QString GetUniqueIdentifier() const = 0;
150 
157  virtual bool IsValid() const = 0;
158 
159 };
160 
161 }
162 
163 #endif /*BERRYIEXTENSIONPOINT_H_*/
virtual SmartPointer< IExtension > GetExtension(const QString &extensionId) const =0
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
Implements transparent reference counting.
virtual QString GetUniqueIdentifier() const =0
berryObjectMacro(berry::IExtensionPoint)
virtual QList< SmartPointer< IExtension > > GetExtensions() const =0
virtual QString GetLabel() const =0
virtual QString GetNamespaceIdentifier() const =0
virtual bool IsValid() const =0
virtual QList< SmartPointer< IConfigurationElement > > GetConfigurationElements() const =0
virtual QString GetSimpleIdentifier() const =0
virtual SmartPointer< IContributor > GetContributor() const =0