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
mitkPersistenceActivator.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
#ifndef mitkPersistenceActivator_h
17
#define mitkPersistenceActivator_h
18
19
// Microservices
20
#include "
mitkPersistenceService.h
"
21
#include <
usModuleActivator.h
>
22
#include <
usServiceRegistration.h
>
23
24
namespace
mitk
25
{
30
class
PersistenceActivator
:
public
us::ModuleActivator
31
{
32
public
:
33
PersistenceActivator
();
34
void
Load
(us::ModuleContext *context)
override
;
35
void
Unload
(us::ModuleContext *context)
override
;
36
virtual
~PersistenceActivator
();
37
38
private
:
39
itk::SmartPointer<mitk::PersistenceService>
m_PersistenceService;
40
us::ServiceRegistration<mitk::IPersistenceService>
m_PersistenceServiceRegistration;
41
};
42
}
43
44
US_EXPORT_MODULE_ACTIVATOR
(
mitk::PersistenceActivator
)
45
#endif
mitk::PersistenceActivator
Definition:
mitkPersistenceActivator.h:30
mitkPersistenceService.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::PersistenceActivator::~PersistenceActivator
virtual ~PersistenceActivator()
Definition:
mitkPersistenceActivator.cpp:71
usModuleActivator.h
us::ServiceRegistration
Definition:
usServiceRegistration.h:48
usServiceRegistration.h
mitk::PersistenceActivator::Load
void Load(us::ModuleContext *context) override
Definition:
mitkPersistenceActivator.cpp:23
us::ModuleActivator
Definition:
usModuleActivator.h:63
mitk::PersistenceActivator::Unload
void Unload(us::ModuleContext *context) override
Definition:
mitkPersistenceActivator.cpp:57
itk::SmartPointer
Definition:
mitkIFileReader.h:33
mitk::PersistenceActivator::PersistenceActivator
PersistenceActivator()
Definition:
mitkPersistenceActivator.cpp:19
US_EXPORT_MODULE_ACTIVATOR
US_EXPORT_MODULE_ACTIVATOR(mitk::SimulationActivator)
git
MITK
Modules
Persistence
mitkPersistenceActivator.h
Generated on Fri Feb 3 2017 20:52:05 for Medical Imaging Interaction Toolkit by
1.8.9.1