CustusX  18.04
An IGT application
cxFilterAirwaysPluginActivator.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 CXFILTERAIRWAYSPLUGINACTIVATOR_H_
13 #define CXFILTERAIRWAYSPLUGINACTIVATOR_H_
14 
15 #include <ctkPluginActivator.h>
16 #include "boost/shared_ptr.hpp"
17 
18 namespace cx
19 {
20 
21 typedef boost::shared_ptr<class RegisteredService> RegisteredServicePtr;
22 
23 class FilterAirwaysPluginActivator : public QObject, public ctkPluginActivator
24 {
25  Q_OBJECT
26  Q_INTERFACES(ctkPluginActivator)
27  Q_PLUGIN_METADATA(IID "org_custusx_filter_airways")
28 
29 public:
30 
33 
34  void start(ctkPluginContext* context);
35  void stop(ctkPluginContext* context);
36 
37 private:
38  RegisteredServicePtr mRegistration;
39 };
40 
41 } // namespace cx
42 
43 #endif /* CXFILTERTUBESEGMENTATIONPLUGINACTIVATOR_H_ */
boost::shared_ptr< class RegisteredService > RegisteredServicePtr
Namespace for all CustusX production code.