Fraxinus  2023.01.05-dev+develop.0da12
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"
21 
22 namespace cx {
23 
24 CoreServicesPtr CoreServices::create(ctkPluginContext* context)
25 {
26  return CoreServicesPtr(new CoreServices(context));
27 }
28 
29 CoreServices::CoreServices(ctkPluginContext* context)
30 {
38 
39 }
40 
42 {
43  return CoreServicesPtr(new CoreServices());
44 }
45 
47 {
55 }
56 } // 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()
static FileManagerServicePtr getNullObject()
PatientModelServicePtr mPatientModelService
static FileManagerServicePtr create(ctkPluginContext *context)
static CoreServicesPtr create(ctkPluginContext *context)
static StateServicePtr create(ctkPluginContext *pluginContext)
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
StateServicePtr mStateService
static StateServicePtr getNullObject()
static VideoServicePtr getNullObject()
FileManagerServicePtr mFileManagerService
Always provides a PatientModelService.
boost::shared_ptr< class CoreServices > CoreServicesPtr
Definition: cxCameraStyle.h:37
static CoreServicesPtr getNullObjects()
static SessionStorageServicePtr getNullObject()
Namespace for all CustusX production code.