CustusX  22.04-rc5
An IGT application
cxRegServices.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 #ifndef CXREGISTRATIONMETHODSERVICES_H
12 #define CXREGISTRATIONMETHODSERVICES_H
13 
14 #include "org_custusx_registration_Export.h"
15 
16 #include "cxVisServices.h"
17 
18 namespace cx
19 {
20 typedef boost::shared_ptr<class RegServices> RegServicesPtr;
21 typedef boost::shared_ptr<class RegistrationService> RegistrationServicePtr;
22 typedef boost::shared_ptr<class ViewService> ViewServicePtr;
23 typedef boost::shared_ptr<class AcquisitionService> AcquisitionServicePtr;
24 
33 class org_custusx_registration_EXPORT RegServices : public VisServices
34 {
35 public:
36  static RegServicesPtr create(ctkPluginContext* context);
37  RegServices(ctkPluginContext* context);
38  static RegServicesPtr getNullObjects();
39 
40  RegistrationServicePtr registration() { return registrationService; }
41  AcquisitionServicePtr acquisition() { return acquisitionService; }
42 
43 protected:
44  RegServices();
45  RegistrationServicePtr registrationService;
46  AcquisitionServicePtr acquisitionService;
47 };
48 
49 }
50 
51 #endif // CXREGISTRATIONMETHODSERVICES_H
AcquisitionServicePtr acquisitionService
Definition: cxRegServices.h:46
boost::shared_ptr< class RegistrationService > RegistrationServicePtr
boost::shared_ptr< class AcquisitionService > AcquisitionServicePtr
boost::shared_ptr< class ViewService > ViewServicePtr
RegistrationServicePtr registration()
Definition: cxRegServices.h:40
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
AcquisitionServicePtr acquisition()
Definition: cxRegServices.h:41
RegistrationServicePtr registrationService
Definition: cxRegServices.h:45
Namespace for all CustusX production code.