Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkInteractionEventObserver.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 InteractionEventObserver_h
14
#define InteractionEventObserver_h
15
16
#include "
mitkInteractionEvent.h
"
17
#include "
mitkServiceInterface.h
"
18
#include <
MitkCoreExports.h
>
19
20
namespace
mitk
21
{
33
struct
MITKCORE_EXPORT
InteractionEventObserver
34
{
35
InteractionEventObserver
();
36
virtual
~InteractionEventObserver();
59
virtual
void
Notify(
InteractionEvent
*interactionEvent,
bool
isHandled) = 0;
60
61
void
Disable();
62
void
Enable();
63
bool
IsEnabled()
const
;
64
65
private
:
66
bool
m_IsEnabled;
67
};
68
69
}
/* namespace mitk */
70
MITK_DECLARE_SERVICE_INTERFACE
(
mitk::InteractionEventObserver
,
"org.mitk.InteractionEventObserver"
)
71
#endif
/* InteractionEventObserver_h */
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition:
mitkServiceInterface.h:26
mitk::InteractionEventObserver
Base class to implement InteractionEventObservers.
Definition:
mitkInteractionEventObserver.h:33
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
MitkCoreExports.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitkInteractionEvent.h
mitkServiceInterface.h
Source
Modules
Core
include
mitkInteractionEventObserver.h
Generated on Thu Mar 12 2020 10:23:53 for Medical Imaging Interaction Toolkit by
1.8.13