Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
usModuleFindHook.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 USMODULEFINDHOOK_H
14 #define USMODULEFINDHOOK_H
15 
16 #include <usServiceInterface.h>
17 #include <usShrinkableVector.h>
18 
19 namespace us {
20 
21 class Module;
22 class ModuleContext;
23 
36 {
37 
39  virtual ~ModuleFindHook();
40 
58  virtual void Find(const ModuleContext* context, ShrinkableVector<Module*>& modules) = 0;
59 };
60 
61 }
62 
63 #endif // USMODULEFINDHOOK_H
#define MITKCPPMICROSERVICES_EXPORT
A std::vector style container allowing query and removal operations only.
Module Context Hook Service.
virtual ~ModuleFindHook()
Virtual destructor.
virtual void Find(const ModuleContext *context, ShrinkableVector< Module * > &modules)=0
Find hook method. This method is called for module find operations using ModuleContext::GetBundle(lon...