Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkEventInformer.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 mitkEventInformer_h
14
#define mitkEventInformer_h
15
16
#include "
mitkInteractionEvent.h
"
17
#include "
mitkInteractionEventObserver.h
"
18
#include <
mitkServiceInterface.h
>
19
20
namespace
mitk
21
{
25
struct
EventInformerService
26
{
27
virtual
~EventInformerService
() {}
28
virtual
void
RegisterObserver
(InteractionEventObserver::Pointer
InteractionEventObserver
) = 0;
29
virtual
void
UnRegisterObserver
(InteractionEventObserver::Pointer
InteractionEventObserver
) = 0;
30
virtual
void
NotifyObservers
(
InteractionEvent::Pointer
interactionEvent) = 0;
31
};
32
33
}
/* namespace mitk */
34
MITK_DECLARE_SERVICE_INTERFACE
(
mitk::EventInformerService
,
"EventInformerService/1.0"
)
35
#endif
mitk::EventInformerService
Definition:
mitkEventInformer.h:25
mitkInteractionEvent.h
mitkServiceInterface.h
mitk::InteractionEventObserver
Base class to implement InteractionEventObservers.
Definition:
mitkInteractionEventObserver.h:33
mitk::EventInformerService::~EventInformerService
virtual ~EventInformerService()
Definition:
mitkEventInformer.h:27
itk::SmartPointer< Self >
mitkInteractionEventObserver.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::EventInformerService::NotifyObservers
virtual void NotifyObservers(InteractionEvent::Pointer interactionEvent)=0
mitk::EventInformerService::UnRegisterObserver
virtual void UnRegisterObserver(InteractionEventObserver::Pointer InteractionEventObserver)=0
mitk::EventInformerService::RegisterObserver
virtual void RegisterObserver(InteractionEventObserver::Pointer InteractionEventObserver)=0
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition:
mitkServiceInterface.h:26
src
MITK
Modules
Core
include
mitkEventInformer.h
Generated on Sat Nov 23 2024 02:13:10 for Medical Imaging Interaction Toolkit by
1.8.17