NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
VLRendererPluginActivator.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 
16 #ifndef VLRendererPluginActivator_h
17 #define VLRendererPluginActivator_h
18 
19 #include <ctkPluginActivator.h>
20 
21 namespace mitk {
22 
24  public QObject, public ctkPluginActivator
25 {
26  Q_OBJECT
27  Q_INTERFACES(ctkPluginActivator)
28 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
29  Q_PLUGIN_METADATA(IID "uk_ac_ucl_cmic_vlrenderer")
30 #endif
31 
32 public:
35 
37  ctkPluginContext* GetPluginContext() const;
38 
39  void start(ctkPluginContext* context);
40  void stop(ctkPluginContext* context);
41 
42 private:
43  static VLRendererPluginActivator* s_Inst;
44  ctkPluginContext* m_Context;
45 };
46 
47 }
48 
49 #endif // VLRendererPluginActivator_h
ctkPluginContext * GetPluginContext() const
Definition: VLRendererPluginActivator.h:23
static VLRendererPluginActivator * GetDefault()
Definition: ReceptorMemberCommandTest.cxx:25
void start(ctkPluginContext *context)
void stop(ctkPluginContext *context)