NorMIT-nav  18.04
An IGT application
cxCoreServices.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 "cxCoreServices.h"
12 
13 #include <ctkPluginContext.h>
15 #include "cxTrackingServiceProxy.h"
16 #include "cxVideoServiceProxy.h"
17 #include "cxSpaceProviderImpl.h"
19 #include "cxStateServiceProxy.h"
20 
21 namespace cx {
22 
23 CoreServicesPtr CoreServices::create(ctkPluginContext* context)
24 {
25  return CoreServicesPtr(new CoreServices(context));
26 }
27 
28 CoreServices::CoreServices(ctkPluginContext* context)
29 {
36 }
37 
39 {
40  return CoreServicesPtr(new CoreServices());
41 }
42 
44 {
51 }
52 } // cx
boost::shared_ptr< class VideoService > VideoServicePtr
SessionStorageServicePtr mSessionStorageService
boost::shared_ptr< class TrackingService > TrackingServicePtr
VideoServicePtr mVideoService
TrackingServicePtr mTrackingService
static PatientModelServicePtr getNullObject()
static SessionStorageServicePtr create(ctkPluginContext *pluginContext)
SpaceProviderPtr mSpaceProvider
static TrackingServicePtr getNullObject()
PatientModelServicePtr mPatientModelService
static CoreServicesPtr create(ctkPluginContext *context)
static StateServicePtr create(ctkPluginContext *pluginContext)
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
StateServicePtr mStateService
static StateServicePtr getNullObject()
static VideoServicePtr getNullObject()
Always provides a PatientModelService.
boost::shared_ptr< class CoreServices > CoreServicesPtr
Definition: cxCameraStyle.h:38
static CoreServicesPtr getNullObjects()
static SessionStorageServicePtr getNullObject()
Namespace for all CustusX production code.