Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryParameterTypeEvent.cpp
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
#include "
berryParameterTypeEvent.h
"
14
#include "
berryParameterType.h
"
15
16
namespace
berry
17
{
18
19
SmartPointer<ParameterType>
ParameterTypeEvent::GetParameterType
()
const
20
{
21
return
parameterType;
22
}
23
24
ParameterTypeEvent::ParameterTypeEvent
(
25
const
SmartPointer<ParameterType>
parameterType,
bool
definedChanged) :
26
AbstractHandleObjectEvent
(definedChanged), parameterType(parameterType)
27
{
28
if
(!parameterType)
29
{
30
throw
Poco::NullPointerException(
"ParameterType cannot be null"
);
31
}
32
}
33
34
}
berry
Definition:
QmitkPropertyItemModel.h:23
berry::AbstractHandleObjectEvent
Definition:
berryAbstractHandleObjectEvent.h:29
berry::ParameterTypeEvent::GetParameterType
SmartPointer< ParameterType > GetParameterType() const
Definition:
berryParameterTypeEvent.cpp:19
berryParameterType.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::ParameterTypeEvent::ParameterTypeEvent
ParameterTypeEvent(const SmartPointer< ParameterType > parameterType, bool definedChanged)
Definition:
berryParameterTypeEvent.cpp:24
berryParameterTypeEvent.h
Source
Plugins
org.blueberry.core.commands
src
berryParameterTypeEvent.cpp
Generated on Thu Mar 12 2020 10:23:33 for Medical Imaging Interaction Toolkit by
1.8.13