NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxTrainingPluginActivator.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 CXTRAININGPLUGINACTIVATOR_H_
13 #define CXTRAININGPLUGINACTIVATOR_H_
14 
15 #include <ctkPluginActivator.h>
16 #include "boost/shared_ptr.hpp"
17 
18 namespace cx
19 {
27 typedef boost::shared_ptr<class RegisteredService> RegisteredServicePtr;
28 typedef boost::shared_ptr<class HelpEngine> HelpEnginePtr;
29 
38 class TrainingPluginActivator : public QObject, public ctkPluginActivator
39 {
40  Q_OBJECT
41  Q_INTERFACES(ctkPluginActivator)
42  Q_PLUGIN_METADATA(IID "org_custusx_training")
43 
44 public:
45 
48 
49  void start(ctkPluginContext* context);
50  void stop(ctkPluginContext* context);
51 
52 private:
53  RegisteredServicePtr mGUIExtender;
54 // HelpEnginePtr mEngine;
55 };
56 
57 } // namespace cx
58 
59 #endif /* CXTRAININGPLUGINACTIVATOR_H_ */
cx::HelpEnginePtr
boost::shared_ptr< HelpEngine > HelpEnginePtr
Definition: cxHelpEngine.h:61
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::TrainingPluginActivator::stop
void stop(ctkPluginContext *context)
Definition: cxTrainingPluginActivator.cpp:40
cx::TrainingPluginActivator::~TrainingPluginActivator
~TrainingPluginActivator()
Definition: cxTrainingPluginActivator.cpp:29
cx::TrainingPluginActivator::start
void start(ctkPluginContext *context)
Definition: cxTrainingPluginActivator.cpp:32
cx::TrainingPluginActivator
Definition: cxTrainingPluginActivator.h:38
cx::TrainingPluginActivator::TrainingPluginActivator
TrainingPluginActivator()
Definition: cxTrainingPluginActivator.cpp:24