Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIParameterTypeListener.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
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 
18 
20 #include "berryParameterType.h"
21 
22 namespace berry {
23 
24 void
27 {
28  if (l == nullptr) return;
29 
30  parameterTypeChanged += Delegate(l, &IParameterTypeListener::ParameterTypeChanged);
31 }
32 
33 void
36 {
37  if (l == nullptr) return;
38 
39  parameterTypeChanged -= Delegate(l, &IParameterTypeListener::ParameterTypeChanged);
40 }
41 
43 {
44 }
45 
46 }
47 
void RemoveListener(IParameterTypeListener *listener)
void AddListener(IParameterTypeListener *listener)
virtual void ParameterTypeChanged(const SmartPointer< const ParameterTypeEvent > &parameterTypeEvent)=0