Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef MITKIDATASTORAGESERVICE_H_
18
#define MITKIDATASTORAGESERVICE_H_
19
20
#include <
org_mitk_core_services_Export.h
>
21
#include "
mitkIDataStorageReference.h
"
22
23
#include <string>
24
25
#include <QtPlugin>
26
27
namespace
mitk
28
{
29
33
struct
MITK_CORE_SERVICES_PLUGIN
IDataStorageService
34
{
35
virtual
~
IDataStorageService
();
36
37
virtual
IDataStorageReference::Pointer
CreateDataStorage(
const
QString& label) = 0;
38
virtual
std::vector<IDataStorageReference::Pointer> GetDataStorageReferences()
const
= 0;
39
40
virtual
IDataStorageReference::Pointer
GetDefaultDataStorage()
const
= 0;
41
42
virtual
IDataStorageReference::Pointer
GetDataStorage
()
const
= 0;
43
44
virtual
IDataStorageReference::Pointer
GetActiveDataStorage()
const
= 0;
45
virtual
void
SetActiveDataStorage(
IDataStorageReference::Pointer
dataStorageRef) = 0;
46
47
virtual
void
AddDataStorageReference(
IDataStorageReference::Pointer
dataStorageRef) = 0;
48
virtual
bool
RemoveDataStorageReference(
IDataStorageReference::Pointer
dataStorageRef) = 0;
49
};
50
51
}
52
53
Q_DECLARE_INTERFACE(
mitk::IDataStorageService
,
"org.mitk.service.IDataStorageService"
)
54
55
#endif
/*MITKIDATASTORAGESERVICE_H_*/
mitkIDataStorageReference.h
MITK_CORE_SERVICES_PLUGIN
#define MITK_CORE_SERVICES_PLUGIN
Definition:
org_mitk_core_services_Export.h:23
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
GetDataStorage
static mitk::DataStorage::Pointer GetDataStorage()
Definition:
mitkMeshMitkLoader.cpp:29
berry::SmartPointer< Self >
org_mitk_core_services_Export.h
mitk::IDataStorageService
Definition:
mitkIDataStorageService.h:33
git
MITK
Plugins
org.mitk.core.services
src
mitkIDataStorageService.h
Generated on Fri Feb 3 2017 20:51:59 for Medical Imaging Interaction Toolkit by
1.8.9.1