Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
usModuleEventHook.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 USMODULEEVENTHOOK_H
14
#define USMODULEEVENTHOOK_H
15
16
#include <
usServiceInterface.h
>
17
#include <
usShrinkableVector.h
>
18
19
namespace
us
{
20
21
class
ModuleContext;
22
class
ModuleEvent;
23
35
struct
MITKCPPMICROSERVICES_EXPORT
ModuleEventHook
36
{
37
39
virtual
~ModuleEventHook
();
40
57
virtual
void
Event
(
const
ModuleEvent
& event,
ShrinkableVector<ModuleContext*>
& contexts) = 0;
58
};
59
60
}
61
62
#endif
// USMODULEEVENTHOOK_H
MITKCPPMICROSERVICES_EXPORT
#define MITKCPPMICROSERVICES_EXPORT
Definition:
MitkCppMicroServicesExports.h:15
us::ModuleEvent
An event from the Micro Services framework describing a module lifecycle change.
Definition:
usModuleEvent.h:38
us::ShrinkableVector
A std::vector style container allowing query and removal operations only.
Definition:
usShrinkableVector.h:30
us
Definition:
mitkAbstractFileReader.h:30
us::ModuleEventHook
Module Event Hook Service.
Definition:
usModuleEventHook.h:36
us::ModuleEventHook::~ModuleEventHook
virtual ~ModuleEventHook()
Virtual destructor.
us::ModuleEventHook::Event
virtual void Event(const ModuleEvent &event, ShrinkableVector< ModuleContext * > &contexts)=0
Module event hook method. This method is called prior to module event delivery when a module is loadi...
usServiceInterface.h
usShrinkableVector.h
src
MITK
Modules
CppMicroServices
include
usModuleEventHook.h
Generated by
1.9.1