Fraxinus  18.10
An IGT application
cxVideoServiceBackend.h
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 
12 #ifndef CXVIDEOSERVICEBACKEND_H
13 #define CXVIDEOSERVICEBACKEND_H
14 
15 #include "org_custusx_core_video_Export.h"
16 #include <QSharedPointer>
17 #include "boost/shared_ptr.hpp"
18 #include "cxForwardDeclarations.h"
19 class ctkPluginFramework;
20 class ctkPluginContext;
21 
22 namespace cx
23 {
24 typedef boost::shared_ptr<class SpaceProvider> SpaceProviderPtr;
25 
26 typedef boost::shared_ptr<class VideoServiceBackend> VideoServiceBackendPtr;
34 class org_custusx_core_video_EXPORT VideoServiceBackend
35 {
36 public:
37  static VideoServiceBackendPtr create(PatientModelServicePtr dataManager,
38  TrackingServicePtr trackingService,
39  SpaceProviderPtr spaceProvider,
40  ctkPluginContext* context);
42  TrackingServicePtr trackingService,
43  SpaceProviderPtr spaceProvider,
44  ctkPluginContext* context);
45 
46  PatientModelServicePtr getDataManager();
47  TrackingServicePtr tracking();
48  SpaceProviderPtr getSpaceProvider();
49  ctkPluginContext* mContext;
50 
51 private:
52  PatientModelServicePtr mDataManager;
53  TrackingServicePtr mTrackingService;
54  SpaceProviderPtr mSpaceProvider;
55 };
56 
57 } // namespace cx
58 
59 
60 #endif // CXVIDEOSERVICEBACKEND_H
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class TrackingService > TrackingServicePtr
boost::shared_ptr< class VideoServiceBackend > VideoServiceBackendPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Namespace for all CustusX production code.