Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
usServiceFindHook.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 USSERVICEFINDHOOK_H
14
#define USSERVICEFINDHOOK_H
15
16
#include <
usServiceInterface.h
>
17
#include <
usShrinkableVector.h
>
18
19
#include <string>
20
21
namespace
us
{
22
23
class
Module;
24
class
ModuleContext;
25
class
ServiceReferenceBase;
26
38
struct
MITKCPPMICROSERVICES_EXPORT
ServiceFindHook
39
{
40
42
virtual
~ServiceFindHook
();
43
60
virtual
void
Find
(
const
ModuleContext
* context,
const
std::string& name,
61
const
std::string& filter,
ShrinkableVector<ServiceReferenceBase>
& references) = 0;
62
};
63
64
}
65
66
#endif
// USSERVICEFINDHOOK_H
MITKCPPMICROSERVICES_EXPORT
#define MITKCPPMICROSERVICES_EXPORT
Definition:
MitkCppMicroServicesExports.h:15
us::ModuleContext
Definition:
usModuleContext.h:83
us::ShrinkableVector
A std::vector style container allowing query and removal operations only.
Definition:
usShrinkableVector.h:30
us
Definition:
mitkAbstractFileReader.h:30
us::ServiceFindHook
Service Find Hook Service.
Definition:
usServiceFindHook.h:39
us::ServiceFindHook::~ServiceFindHook
virtual ~ServiceFindHook()
Destructor.
us::ServiceFindHook::Find
virtual void Find(const ModuleContext *context, const std::string &name, const std::string &filter, ShrinkableVector< ServiceReferenceBase > &references)=0
Find hook method. This method is called during the service find operation (for example,...
usServiceInterface.h
usShrinkableVector.h
src
MITK
Modules
CppMicroServices
include
usServiceFindHook.h
Generated by
1.9.1