CustusX
2023.01.05-dev+develop.0da12
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxCalibrationPluginActivator.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 "
cxCalibrationPluginActivator.h
"
13
14
#include <QtPlugin>
15
#include <iostream>
16
17
#include "
cxCalibrationGUIExtenderService.h
"
18
#include "
cxRegisteredService.h
"
19
20
namespace
cx
21
{
22
23
CalibrationPluginActivator::CalibrationPluginActivator
()
24
{
25
}
26
27
CalibrationPluginActivator::~CalibrationPluginActivator
()
28
{}
29
30
void
CalibrationPluginActivator::start
(ctkPluginContext* context)
31
{
32
mGUIExtender = RegisteredService::create<CalibrationGUIExtenderService>(context,
GUIExtenderService_iid
);
33
}
34
35
void
CalibrationPluginActivator::stop
(ctkPluginContext* context)
36
{
37
mGUIExtender.reset();
38
Q_UNUSED(context);
39
}
40
41
}
// namespace cx
42
43
44
cx::CalibrationPluginActivator::CalibrationPluginActivator
CalibrationPluginActivator()
Definition:
cxCalibrationPluginActivator.cpp:23
cx::CalibrationPluginActivator::stop
void stop(ctkPluginContext *context)
Definition:
cxCalibrationPluginActivator.cpp:35
cxCalibrationPluginActivator.h
cxCalibrationGUIExtenderService.h
cx::CalibrationPluginActivator::start
void start(ctkPluginContext *context)
Definition:
cxCalibrationPluginActivator.cpp:30
GUIExtenderService_iid
#define GUIExtenderService_iid
Definition:
cxGUIExtenderService.h:23
cx::CalibrationPluginActivator::~CalibrationPluginActivator
~CalibrationPluginActivator()
Definition:
cxCalibrationPluginActivator.cpp:27
cxRegisteredService.h
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
plugins
org.custusx.calibration
cxCalibrationPluginActivator.cpp
Generated on Thu Jan 5 2023 00:50:39 for CustusX by
1.8.11