NorMIT-nav
22.09
An IGT application
cxVisServices.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 "
cxVisServices.h
"
12
13
#include "
cxViewServiceProxy.h
"
14
15
namespace
cx
{
16
17
VisServicesPtr
VisServices::create
(ctkPluginContext* context)
18
{
19
return
VisServicesPtr
(
new
VisServices
(context));
20
}
21
22
VisServices::VisServices
(ctkPluginContext* context) :
23
CoreServices
(context)
24
{
25
mViewService
=
ViewServicePtr
(
new
ViewServiceProxy
(context));
26
}
27
28
VisServicesPtr
VisServices::getNullObjects
()
29
{
30
return
VisServicesPtr
(
new
VisServices
());
31
}
32
33
VisServices::VisServices
() :
34
CoreServices
()
35
{
36
mViewService
=
cx::ViewService::getNullObject
();
37
}
38
}
// cx
cx::VisServices::VisServices
VisServices()
Definition:
cxVisServices.cpp:33
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::VisServicesPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition:
cxMainWindow.h:40
cx::VisServices::mViewService
ViewServicePtr mViewService
Definition:
cxVisServices.h:43
cx::VisServices::getNullObjects
static VisServicesPtr getNullObjects()
Definition:
cxVisServices.cpp:28
cx::ViewServicePtr
boost::shared_ptr< class ViewService > ViewServicePtr
Definition:
cxLogicManager.h:28
cx::ViewServiceProxy
Definition:
cxViewServiceProxy.h:24
cx::ViewService::getNullObject
static ViewServicePtr getNullObject()
Definition:
cxViewService.cpp:31
cx::VisServices::create
static VisServicesPtr create(ctkPluginContext *context)
Definition:
cxVisServices.cpp:17
cxViewServiceProxy.h
cx::CoreServices
Definition:
cxCoreServices.h:38
cxVisServices.h
CX
source
resource
view
cxVisServices.cpp
Generated on Tue Sep 13 2022 11:06:17 for NorMIT-nav by
1.8.17