Medical Imaging Interaction Toolkit  2023.12.00
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkUSUIActivator_h
14 #define mitkUSUIActivator_h
15 
17 
18 // Microservices
19 #include <usModuleContext.h>
20 #include <usModuleActivator.h>
21 
22 namespace mitk
23 {
24  class USUICustomWidgetFactory;
25 
31  public:
32 
33  USUIActivator();
34  ~USUIActivator() override;
35 
41  void Load(us::ModuleContext* context) override;
42 
47  void Unload(us::ModuleContext* context) override;
48 
49  protected:
50 
51  std::vector<QmitkUSAbstractCustomWidget*> m_USCustomWidgets;
52  };
53 } // namespace mitk
54 
56 
57 #endif
mitk::USUIActivator::USUIActivator
USUIActivator()
mitk::USUIActivator::Load
void Load(us::ModuleContext *context) override
usModuleActivator.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
us::ModuleActivator
Definition: usModuleActivator.h:63
mitk::USUIActivator::m_USCustomWidgets
std::vector< QmitkUSAbstractCustomWidget * > m_USCustomWidgets
Contains the currently available US custom controls widgets which are loaded on Load()
Definition: mitkUSUIActivator.h:51
mitk::USUIActivator::Unload
void Unload(us::ModuleContext *context) override
US_EXPORT_MODULE_ACTIVATOR
#define US_EXPORT_MODULE_ACTIVATOR(_activator_type)
Export a module activator class.
Definition: usModuleActivator.h:119
mitk::USUIActivator
Module activator for the USUI module. Registers custom widget for mitk::USVideoDevice as microservice...
Definition: mitkUSUIActivator.h:30
QmitkUSAbstractCustomWidget.h
usModuleContext.h
mitk::USUIActivator::~USUIActivator
~USUIActivator() override