Fraxinus  18.10
An IGT application
cxAcquisitionServicePluginActivator.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 CXACQUISITIONSERVICEPLUGINACTIVATOR_H
13 #define CXACQUISITIONSERVICEPLUGINACTIVATOR_H
14 #include <ctkPluginActivator.h>
15 #include "boost/shared_ptr.hpp"
16 
17 namespace cx
18 {
19 
31 typedef boost::shared_ptr<class RegisteredService> RegisteredServicePtr;
32 
41 class AcquisitionServicePluginActivator : public QObject, public ctkPluginActivator
42 {
43  Q_OBJECT
44  Q_INTERFACES(ctkPluginActivator)
45  Q_PLUGIN_METADATA(IID "org_custusx_acquisition")
46 public:
49 
50  void start(ctkPluginContext* context);
51  void stop(ctkPluginContext* context);
52 
53 private:
54  RegisteredServicePtr mRegisteredAcquisitionService;
55  RegisteredServicePtr mRegisteredAcquisitionGUIService;
56 };
57 
58 } // cx
59 #endif // CXACQUISITIONSERVICEPLUGINACTIVATOR_H
boost::shared_ptr< class RegisteredService > RegisteredServicePtr
Namespace for all CustusX production code.