NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxTrackingShapePluginActivator.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 CXTRACKINGSHAPEPLUGINACTIVATOR_H_
13 #define CXTRACKINGSHAPEPLUGINACTIVATOR_H_
14 
15 #include <ctkPluginActivator.h>
16 #include "boost/shared_ptr.hpp"
17 
18 namespace cx
19 {
20 
21 typedef boost::shared_ptr<class TrackingShapePGUIExtenderService> TrackingShapePGUIExtenderServicePtr;
22 typedef boost::shared_ptr<class RegisteredService> RegisteredServicePtr;
23 
32 class TrackingShapePluginActivator : public QObject, public ctkPluginActivator
33 {
34  Q_OBJECT
35  Q_INTERFACES(ctkPluginActivator)
36  Q_PLUGIN_METADATA(IID "org_custusx_tracking_shape")
37 
38 public:
39 
42 
43  void start(ctkPluginContext* context);
44  void stop(ctkPluginContext* context);
45 
46 private:
47  RegisteredServicePtr mRegistration;
48 };
49 
50 } // namespace cx
51 
52 #endif /* CXTRACKINGSHAPEPLUGINACTIVATOR_H_ */
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::TrackingShapePluginActivator::stop
void stop(ctkPluginContext *context)
Definition: cxTrackingShapePluginActivator.cpp:36
cx::TrackingShapePluginActivator::start
void start(ctkPluginContext *context)
Definition: cxTrackingShapePluginActivator.cpp:31
cx::TrackingShapePluginActivator::TrackingShapePluginActivator
TrackingShapePluginActivator()
Definition: cxTrackingShapePluginActivator.cpp:23
cx::TrackingShapePluginActivator
Definition: cxTrackingShapePluginActivator.h:32
cx::TrackingShapePluginActivator::~TrackingShapePluginActivator
~TrackingShapePluginActivator()
Definition: cxTrackingShapePluginActivator.cpp:28
cx::TrackingShapePGUIExtenderServicePtr
boost::shared_ptr< class TrackingShapePGUIExtenderService > TrackingShapePGUIExtenderServicePtr
Definition: cxTrackingShapePluginActivator.h:21