Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryICommandManagerListener.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 
21 namespace berry
22 {
23 
25 {
26  if (l == nullptr) return;
27 
29 }
30 
32 {
33  if (l == nullptr) return;
34 
35  commandManagerChanged -= Delegate(l, &ICommandManagerListener::CommandManagerChanged);
36 }
37 
39 {
40 }
41 
42 }
43 
virtual void CommandManagerChanged(const SmartPointer< const CommandManagerEvent > &commandManagerEvent)=0
void RemoveListener(ICommandManagerListener *listener)
void AddListener(ICommandManagerListener *listener)