NorMIT-nav  22.09
An IGT application
cxCalibrationPluginActivator.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 CXCALIBRATIONPLUGINACTIVATOR_H_
13 #define CXCALIBRATIONPLUGINACTIVATOR_H_
14 
15 #include <ctkPluginActivator.h>
16 #include "boost/shared_ptr.hpp"
17 
18 namespace cx
19 {
20 
30 typedef boost::shared_ptr<class CalibrationGUIExtenderService> CalibrationGUIExtenderServicePtr;
31 typedef boost::shared_ptr<class RegisteredService> RegisteredServicePtr;
32 
41 class CalibrationPluginActivator : public QObject, public ctkPluginActivator
42 {
43  Q_OBJECT
44  Q_INTERFACES(ctkPluginActivator)
45  Q_PLUGIN_METADATA(IID "org_custusx_calibration")
46 
47 public:
48 
51 
52  void start(ctkPluginContext* context);
53  void stop(ctkPluginContext* context);
54 
55 private:
56  RegisteredServicePtr mGUIExtender;
57 };
58 
59 } // namespace cx
60 
61 #endif /* CXCALIBRATIONPLUGINACTIVATOR_H_ */
cx::CalibrationPluginActivator::start
void start(ctkPluginContext *context)
Definition: cxCalibrationPluginActivator.cpp:30
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::RegisteredServicePtr
boost::shared_ptr< class RegisteredService > RegisteredServicePtr
Definition: cxAcquisitionServicePluginActivator.h:31
cx::CalibrationPluginActivator::~CalibrationPluginActivator
~CalibrationPluginActivator()
Definition: cxCalibrationPluginActivator.cpp:27
cx::CalibrationPluginActivator::CalibrationPluginActivator
CalibrationPluginActivator()
Definition: cxCalibrationPluginActivator.cpp:23
cx::CalibrationPluginActivator
Definition: cxCalibrationPluginActivator.h:41
cx::CalibrationGUIExtenderServicePtr
boost::shared_ptr< CalibrationGUIExtenderService > CalibrationGUIExtenderServicePtr
Definition: cxCalibrationGUIExtenderService.h:43
cx::CalibrationPluginActivator::stop
void stop(ctkPluginContext *context)
Definition: cxCalibrationPluginActivator.cpp:35