CustusX
22.04-rc5
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxDicomPluginActivator.cpp
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#include "
cxDicomPluginActivator.h
"
13
14
#include <QtPlugin>
15
#include <iostream>
16
17
#include "
cxDicomGUIExtenderService.h
"
18
19
#include "
cxRegisteredService.h
"
20
21
22
namespace
cx
23
{
24
25
DicomPluginActivator::DicomPluginActivator
()
26
{
27
// std::cout << "Created DicomPluginActivator" << std::endl;
28
}
29
30
DicomPluginActivator::~DicomPluginActivator
()
31
{
32
}
33
34
void
DicomPluginActivator::start
(ctkPluginContext* context)
35
{
36
// std::cout << "Starting DicomPluginActivator" << std::endl;
37
mRegistration = RegisteredService::create<DicomGUIExtenderService>(context,
GUIExtenderService_iid
);
38
}
39
40
void
DicomPluginActivator::stop
(ctkPluginContext* context)
41
{
42
mRegistration.reset();
43
// std::cout << "Stopped DicomPluginActivator" << std::endl;
44
Q_UNUSED(context);
45
}
46
47
}
// namespace cx
48
49
cx::DicomPluginActivator::DicomPluginActivator
DicomPluginActivator()
Definition:
cxDicomPluginActivator.cpp:25
cxDicomPluginActivator.h
cx::DicomPluginActivator::stop
void stop(ctkPluginContext *context)
Definition:
cxDicomPluginActivator.cpp:40
cxDicomGUIExtenderService.h
cx::DicomPluginActivator::start
void start(ctkPluginContext *context)
Definition:
cxDicomPluginActivator.cpp:34
cx::DicomPluginActivator::~DicomPluginActivator
~DicomPluginActivator()
Definition:
cxDicomPluginActivator.cpp:30
GUIExtenderService_iid
#define GUIExtenderService_iid
Definition:
cxGUIExtenderService.h:23
cxRegisteredService.h
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
plugins
org.custusx.dicom
cxDicomPluginActivator.cpp
Generated on Thu Jun 16 2022 21:30:01 for CustusX by
1.8.11