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