Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkUSUIActivator.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef __mitkUSUIActivator_h
18 #define __mitkUSUIActivator_h
19 
21 
22 // Microservices
23 #include <usModuleContext.h>
24 #include <usModuleActivator.h>
25 
27 
28 namespace mitk
29 {
30  class USUICustomWidgetFactory;
31 
37  public:
38 
39  USUIActivator();
40  virtual ~USUIActivator();
41 
47  void Load(us::ModuleContext* context) override;
48 
53  void Unload(us::ModuleContext* context) override;
54 
55  protected:
57 
60  };
61 } // namespace mitk
62 
64 
65 #endif // __mitkUSUIActivator_h
Prototype service factory for creating unique instances of QmitUSAbstractCustomWidget.
Module activator for the USUI module. Registers custom widget for mitk::USVideoDevice as microservice...
DataCollection - Class to facilitate loading/accessing structured data.
QmitkUSControlsCustomVideoDeviceWidget * m_CustomVideoDeviceWidget
us::ServiceRegistration< QmitkUSAbstractCustomWidget > m_ServiceRegistration
void Load(us::ModuleContext *context) override
USUICustomWidgetFactory * m_CustomWidgetFactory
Widget for custom controls of mitk::USVideoDevice. This class handles the itk::USVideoDeviceCustomCon...
void Unload(us::ModuleContext *context) override
US_EXPORT_MODULE_ACTIVATOR(mitk::SimulationActivator)