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
mitkEventConfig.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 mitkStateMachineConfig_h
18
#define mitkStateMachineConfig_h
19
20
#include <
MitkCoreExports.h
>
21
22
#include "
mitkPropertyList.h
"
23
#include "
usSharedData.h
"
24
25
#include "itkSmartPointer.h"
26
27
namespace
us
28
{
29
class
Module;
30
}
31
32
namespace
mitk
33
{
34
class
InteractionEvent;
35
struct
EventConfigPrivate;
36
48
class
MITKCORE_EXPORT
EventConfig
49
{
50
public
:
51
typedef
itk::SmartPointer<InteractionEvent>
EventType
;
52
58
EventConfig
();
59
EventConfig
(
const
EventConfig
&other);
60
71
EventConfig
(
const
std::string &
filename
,
const
us::Module
*module =
nullptr
);
72
82
EventConfig
(std::istream &inputStream);
83
121
EventConfig
(
const
std::vector<PropertyList::Pointer> &configDescription);
122
123
EventConfig
&operator=(
const
EventConfig
&other);
124
125
~
EventConfig
();
126
131
bool
IsValid()
const
;
132
146
bool
AddConfig(
const
std::string &
filename
,
const
us::Module
*module =
nullptr
);
147
160
bool
AddConfig(
const
EventConfig
&config);
161
165
void
ClearConfig();
166
171
PropertyList::Pointer
GetAttributes()
const
;
172
185
std::string GetMappedEvent(
const
EventType &interactionEvent)
const
;
186
187
private
:
188
us::SharedDataPointer<EventConfigPrivate>
d;
189
};
190
191
}
// namespace mitk
192
193
#endif
/* mitkStateMachineConfig_h */
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
MitkCoreExports.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::EventConfig::EventType
itk::SmartPointer< InteractionEvent > EventType
Definition:
mitkEventConfig.h:51
usSharedData.h
us::SharedDataPointer< EventConfigPrivate >
filename
static const std::string filename
Definition:
mitkTinyXMLTest.cpp:28
us::Module
Definition:
usModule.h:78
mitk::EventConfig
Configuration Object for Statemachines.
Definition:
mitkEventConfig.h:48
us
Definition:
mitkAbstractFileReader.h:33
itk::SmartPointer< InteractionEvent >
mitkPropertyList.h
git
MITK
Modules
Core
include
mitkEventConfig.h
Generated on Fri Feb 3 2017 20:51:57 for Medical Imaging Interaction Toolkit by
1.8.9.1