Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitkOpenCLActivator.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 mitkOpenCLActivator_h
14 #define mitkOpenCLActivator_h
15 
16 #include "mitkOclResourceServiceImpl_p.h"
17 
18 #include <usModuleActivator.h>
19 #include <usModuleContext.h>
20 #include <usGetModuleContext.h>
21 #include <usServiceProperties.h>
22 
23 #include <set>
24 #include <algorithm>
25 #include <memory>
26 
34 {
35 private:
36 
37  std::unique_ptr<OclResourceServiceImpl> m_ResourceService;
38 
39 public:
41  void Load(us::ModuleContext *context);
42 
44  void Unload(us::ModuleContext* );
45 
46 };
47 
48 
49 
50 #endif
us::ModuleActivator::Unload
virtual void Unload(ModuleContext *context)=0
usServiceProperties.h
usModuleActivator.h
OpenCLActivator
Custom activator for the OpenCL Module in order to register and provide the OclResourceService.
Definition: mitkOpenCLActivator.h:33
us::ModuleActivator::Load
virtual void Load(ModuleContext *context)=0
us::ModuleActivator
Definition: usModuleActivator.h:63
US_ABI_LOCAL
#define US_ABI_LOCAL
Definition: usGlobalConfig.h:117
usModuleContext.h
usGetModuleContext.h