Medical Imaging Interaction Toolkit  2022.04.99-194dd5d8
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"
18 #include <mitkServiceInterface.h>
19 
20 namespace mitk
21 {
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 */
35 #endif
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Base class to implement InteractionEventObservers.
DataCollection - Class to facilitate loading/accessing structured data.
virtual void NotifyObservers(InteractionEvent::Pointer interactionEvent)=0
virtual void UnRegisterObserver(InteractionEventObserver::Pointer InteractionEventObserver)=0
virtual void RegisterObserver(InteractionEventObserver::Pointer InteractionEventObserver)=0