CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxRMPCPluginActivator.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 CXRMPCPLUGINACTIVATOR_H
13 #define CXRMPCPLUGINACTIVATOR_H
14 
15 #include <ctkPluginActivator.h>
16 #include "boost/shared_ptr.hpp"
17 
18 namespace cx
19 {
26 typedef boost::shared_ptr<class DicomGUIExtenderService> DicomGUIExtenderServicePtr;
27 typedef boost::shared_ptr<class RegisteredService> RegisteredServicePtr;
28 
37 class RMPCPluginActivator : public QObject, public ctkPluginActivator
38 {
39  Q_OBJECT
40  Q_INTERFACES(ctkPluginActivator)
41  Q_PLUGIN_METADATA(IID "org_custusx_registration_method_pointcloud")
42 
43 public:
44 
47 
48  void start(ctkPluginContext* context);
49  void stop(ctkPluginContext* context);
50 
51 private:
52  RegisteredServicePtr mPointCloud;
53  RegisteredServicePtr mPointerToSurface;
54 };
55 
56 } // namespace cx
57 
58 #endif // CXRMPCPLUGINACTIVATOR_H
boost::shared_ptr< class RegisteredService > RegisteredServicePtr
void start(ctkPluginContext *context)
boost::shared_ptr< DicomGUIExtenderService > DicomGUIExtenderServicePtr
void stop(ctkPluginContext *context)
Namespace for all CustusX production code.