NorMIT-nav  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
cx::SessionStorageServiceProxy::create
static SessionStorageServicePtr create(ctkPluginContext *pluginContext)
Definition: cxSessionStorageServiceProxy.cpp:19
cx::VideoServicePtr
boost::shared_ptr< class VideoService > VideoServicePtr
Definition: cxLogicManager.h:26
cx::CoreServices::mVideoService
VideoServicePtr mVideoService
Definition: cxCoreServices.h:56
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::CoreServices::mPatientModelService
PatientModelServicePtr mPatientModelService
Definition: cxCoreServices.h:54
cx::PatientModelServiceProxy
Always provides a PatientModelService.
Definition: cxPatientModelServiceProxy.h:36
cx::SessionStorageService::getNullObject
static SessionStorageServicePtr getNullObject()
Definition: cxSessionStorageService.cpp:42
cx::TrackingService::getNullObject
static TrackingServicePtr getNullObject()
Definition: cxTrackingService.cpp:18
cx::CoreServices::mFileManagerService
FileManagerServicePtr mFileManagerService
Definition: cxCoreServices.h:60
cxStateServiceProxy.h
cx::VideoService::getNullObject
static VideoServicePtr getNullObject()
Definition: cxVideoService.cpp:19
cx::CoreServices::getNullObjects
static CoreServicesPtr getNullObjects()
Definition: cxCoreServices.cpp:41
cx::CoreServices::mTrackingService
TrackingServicePtr mTrackingService
Definition: cxCoreServices.h:55
cx::VideoServiceProxy
Definition: cxVideoServiceProxy.h:27
cxPatientModelServiceProxy.h
cxSessionStorageServiceProxy.h
cxSpaceProviderImpl.h
cx::TrackingServicePtr
boost::shared_ptr< class TrackingService > TrackingServicePtr
Definition: cxToolFilterWidget.h:27
cx::CoreServicesPtr
boost::shared_ptr< class CoreServices > CoreServicesPtr
Definition: cxCameraStyle.h:37
cx::PatientModelServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Definition: cxLogicManager.h:25
cx::CoreServices::mStateService
StateServicePtr mStateService
Definition: cxCoreServices.h:59
cx::FileManagerServiceProxy::create
static FileManagerServicePtr create(ctkPluginContext *context)
Definition: cxFileManagerServiceProxy.cpp:19
cx::SpaceProviderImpl
Definition: cxSpaceProviderImpl.h:29
cx::CoreServices::mSessionStorageService
SessionStorageServicePtr mSessionStorageService
Definition: cxCoreServices.h:58
cxCoreServices.h
cx::CoreServices::mSpaceProvider
SpaceProviderPtr mSpaceProvider
Definition: cxCoreServices.h:57
cxTrackingServiceProxy.h
cx::TrackingServiceProxy
Definition: cxTrackingServiceProxy.h:27
cxVideoServiceProxy.h
cx::StateService::getNullObject
static StateServicePtr getNullObject()
Definition: cxStateService.cpp:43
cxFileManagerServiceProxy.h
cx::FileManagerService::getNullObject
static FileManagerServicePtr getNullObject()
Definition: cxFileManagerService.cpp:19
cx::StateServiceProxy::create
static StateServicePtr create(ctkPluginContext *pluginContext)
Definition: cxStateServiceProxy.cpp:19
cx::CoreServices::CoreServices
CoreServices()
Definition: cxCoreServices.cpp:46
cx::PatientModelService::getNullObject
static PatientModelServicePtr getNullObject()
Definition: cxPatientModelService.cpp:25
cx::CoreServices::create
static CoreServicesPtr create(ctkPluginContext *context)
Definition: cxCoreServices.cpp:24