Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef InteractionEventObserver_h
18
#define InteractionEventObserver_h
19
20
#include "
mitkInteractionEvent.h
"
21
#include "
mitkServiceInterface.h
"
22
#include <
MitkCoreExports.h
>
23
24
namespace
mitk
25
{
37
struct
MITKCORE_EXPORT
InteractionEventObserver
38
{
39
InteractionEventObserver
();
40
virtual
~InteractionEventObserver();
63
virtual
void
Notify(
InteractionEvent
*interactionEvent,
bool
isHandled) = 0;
64
65
void
Disable();
66
void
Enable();
67
bool
IsEnabled()
const
;
68
69
private
:
70
bool
m_IsEnabled;
71
};
72
73
}
/* namespace mitk */
74
MITK_DECLARE_SERVICE_INTERFACE
(
mitk::InteractionEventObserver
,
"org.mitk.InteractionEventObserver"
)
75
#endif
/* InteractionEventObserver_h */
mitk::InteractionEventObserver
Base class to implement InteractionEventObservers.
Definition:
mitkInteractionEventObserver.h:37
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:30
MitkCoreExports.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitkInteractionEvent.h
mitkServiceInterface.h
MITK_DECLARE_SERVICE_INTERFACE
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")
git
MITK
Modules
Core
include
mitkInteractionEventObserver.h
Generated on Fri Feb 3 2017 20:52:01 for Medical Imaging Interaction Toolkit by
1.8.9.1