Medical Imaging Interaction Toolkit
2024.06.99-3ccaf925
Medical Imaging Interaction Toolkit
berryIParameterTypeListener.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
14
#ifndef BERRYIPARAMETERTYPELISTENER_H_
15
#define BERRYIPARAMETERTYPELISTENER_H_
16
17
#include <
berryMessage.h
>
18
19
#include <
org_blueberry_core_commands_Export.h
>
20
21
namespace
berry
{
22
23
template
<
class
T>
class
SmartPointer;
24
25
class
ParameterTypeEvent;
26
37
struct
BERRY_COMMANDS
IParameterTypeListener
38
{
39
40
struct
Events
{
41
42
typedef
Message1<const SmartPointer<const ParameterTypeEvent>
& >
Event
;
43
44
Event
parameterTypeChanged
;
45
46
void
AddListener(
IParameterTypeListener
* listener);
47
void
RemoveListener(
IParameterTypeListener
* listener);
48
49
typedef
MessageDelegate1<IParameterTypeListener, const SmartPointer<const ParameterTypeEvent>
& >
Delegate
;
50
};
51
52
virtual
~
IParameterTypeListener
();
53
62
virtual
void
ParameterTypeChanged(
const
SmartPointer<const ParameterTypeEvent>
& parameterTypeEvent) = 0;
63
64
};
65
66
67
}
68
69
#endif
/* BERRYIPARAMETERTYPELISTENER_H_ */
berry::IParameterTypeListener::Events
Definition:
berryIParameterTypeListener.h:40
org_blueberry_core_commands_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:26
berryMessage.h
berry::Message1
Definition:
berryMessage.h:787
berry::MessageDelegate1
Definition:
berryMessage.h:170
berry::IParameterTypeListener::Events::parameterTypeChanged
Event parameterTypeChanged
Definition:
berryIParameterTypeListener.h:44
berry::IParameterTypeListener
Definition:
berryIParameterTypeListener.h:37
berry::IParameterTypeListener::Events::Delegate
MessageDelegate1< IParameterTypeListener, const SmartPointer< const ParameterTypeEvent > & > Delegate
Definition:
berryIParameterTypeListener.h:49
berry::IParameterTypeListener::Events::Event
Message1< const SmartPointer< const ParameterTypeEvent > & > Event
Definition:
berryIParameterTypeListener.h:42
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.commands
src
berryIParameterTypeListener.h
Generated on Mon Sep 16 2024 02:29:48 for Medical Imaging Interaction Toolkit by
1.8.17