Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIDisposable.h
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 
17 
18 #ifndef BERRYIDISPOSABLE_H_
19 #define BERRYIDISPOSABLE_H_
20 
22 
23 #include <berryObject.h>
24 #include <berryMacros.h>
25 
26 namespace berry {
27 
49 struct IDisposable : public virtual Object
50 {
51 
53 
54  ~IDisposable();
55 
61  virtual void Dispose() = 0;
62 
63 };
64 
65 }
66 
67 #endif /* BERRYIDISPOSABLE_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
berryObjectMacro(berry::IDisposable)~IDisposable()
virtual void Dispose()=0