Medical Imaging Interaction Toolkit  2024.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkIDataStorageService.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 mitkIDataStorageService_h
14 #define mitkIDataStorageService_h
15 
18 
19 #include <string>
20 
21 #include <QtPlugin>
22 
23 namespace mitk
24 {
25 
30 {
31  virtual ~IDataStorageService();
32 
33  virtual IDataStorageReference::Pointer CreateDataStorage(const QString& label) = 0;
34  virtual std::vector<IDataStorageReference::Pointer> GetDataStorageReferences() const = 0;
35 
36  virtual IDataStorageReference::Pointer GetDefaultDataStorage() const = 0;
37 
38  virtual IDataStorageReference::Pointer GetDataStorage() const = 0;
39 
40  virtual IDataStorageReference::Pointer GetActiveDataStorage() const = 0;
41  virtual void SetActiveDataStorage(IDataStorageReference::Pointer dataStorageRef) = 0;
42 
43  virtual void AddDataStorageReference(IDataStorageReference::Pointer dataStorageRef) = 0;
44  virtual bool RemoveDataStorageReference(IDataStorageReference::Pointer dataStorageRef) = 0;
45 };
46 
47 }
48 
49 Q_DECLARE_INTERFACE(mitk::IDataStorageService, "org.mitk.service.IDataStorageService")
50 
51 #endif
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
MITK_CORE_SERVICES_PLUGIN
#define MITK_CORE_SERVICES_PLUGIN
Definition: org_mitk_core_services_Export.h:26
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::IDataStorageService
Definition: mitkIDataStorageService.h:29
org_mitk_core_services_Export.h
mitkIDataStorageReference.h