CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxRegistrationMethodCenterlinePluginActivator.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 CXREGISTRATIONMETHODCENTERLINEPLUGINACTIVATOR_H_
13 #define CXREGISTRATIONMETHODCENTERLINEPLUGINACTIVATOR_H_
14 
15 #include <ctkPluginActivator.h>
16 #include "boost/shared_ptr.hpp"
17 #include "org_custusx_registration_method_centerline_Export.h"
18 
19 namespace cx
20 {
29 typedef boost::shared_ptr<class RegisteredService> RegisteredServicePtr;
30 
39 class org_custusx_registration_method_centerline_EXPORT RegistrationMethodCenterlinePluginActivator : public QObject, public ctkPluginActivator
40 {
41  Q_OBJECT
42  Q_INTERFACES(ctkPluginActivator)
43  Q_PLUGIN_METADATA(IID "org_custusx_registration_method_centerline")
44 
45 public:
46 
49 
50  void start(ctkPluginContext* context);
51  void stop(ctkPluginContext* context);
52 
53 private:
54  RegisteredServicePtr mRegistrationImageToPatient;
55 };
56 
57 } // namespace cx
58 
59 #endif /* CXREGISTRATIONMETHODCENTERLINEPLUGINACTIVATOR_H_ */
boost::shared_ptr< class RegisteredService > RegisteredServicePtr
Namespace for all CustusX production code.