Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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 
55 struct IExtensionPoint : public virtual Object
56 {
57 
59 
60  ~IExtensionPoint() override;
61 
72  virtual QList<SmartPointer<IConfigurationElement> > GetConfigurationElements() const = 0;
73 
80  virtual QString GetNamespaceIdentifier() const = 0;
81 
88  virtual SmartPointer<IContributor> GetContributor() const = 0;
89 
101  virtual SmartPointer<IExtension> GetExtension(const QString& extensionId) const = 0;
102 
110  virtual QList<SmartPointer<IExtension> > GetExtensions() const = 0;
111 
124  virtual QString GetLabel() const = 0;
125 
135  virtual QString GetSimpleIdentifier() const = 0;
136 
148  virtual QString GetUniqueIdentifier() const = 0;
149 
156  virtual bool IsValid() const = 0;
157 
158 };
159 
160 }
161 
162 #endif /*BERRYIEXTENSIONPOINT_H_*/
virtual SmartPointer< IExtension > GetExtension(const QString &extensionId) const =0
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
~IExtensionPoint() override
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