NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
TrackedImageViewActivator.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef TrackedImageViewActivator_h
16 #define TrackedImageViewActivator_h
17 
18 #include <ctkPluginActivator.h>
19 
20 namespace mitk {
21 
23  public QObject, public ctkPluginActivator
24 {
25  Q_OBJECT
26  Q_INTERFACES(ctkPluginActivator)
27 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
28  Q_PLUGIN_METADATA(IID "uk_ac_ucl_cmic_igiTrackedImage")
29 #endif
30 
31 public:
32 
33  void start(ctkPluginContext* context) override;
34  void stop(ctkPluginContext* context) override;
35  static ctkPluginContext* getContext();
36 
37 private:
38  static ctkPluginContext* m_PluginContext;
39 
40 }; // end class
41 
42 } // end namespace
43 
44 #endif // TrackedImageViewActivator_h
static ctkPluginContext * getContext()
Definition: TrackedImageViewActivator.cxx:42
void stop(ctkPluginContext *context) override
Definition: TrackedImageViewActivator.cxx:34
Definition: ReceptorMemberCommandTest.cxx:25
void start(ctkPluginContext *context) override
Definition: TrackedImageViewActivator.cxx:25
Definition: TrackedImageViewActivator.h:22