CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxRegistrationMethodService.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 CXREGISTRATIONMETHODSERVICE_H
13 #define CXREGISTRATIONMETHODSERVICE_H
14 
15 #include <QObject>
16 
17 #include <boost/shared_ptr.hpp>
18 #include "cxRegServices.h"
19 #include "org_custusx_registration_Export.h"
20 
21 #define RegistrationMethodService_iid "cx::RegistrationMethodService"
22 
23 namespace cx
24 {
25 
26 
36 class org_custusx_registration_EXPORT RegistrationMethodService : public QObject
37 {
38  Q_OBJECT
39 public:
41  mServices(services) {}
43 
44  virtual QWidget* createWidget() = 0;
45  virtual QString getWidgetName() = 0;
46  virtual QString getRegistrationType() = 0;
47  virtual QString getRegistrationMethod() = 0;
48 
49 protected:
51 };
52 
53 } //namespace cx
55 
56 
57 #endif // CXREGISTRATIONMETHODSERVICE_H
Registration Method services.
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
#define RegistrationMethodService_iid
RegistrationMethodService(RegServicesPtr services)
Namespace for all CustusX production code.