Medical Imaging Interaction Toolkit  2018.4.99-ae21cdc4
Medical Imaging Interaction Toolkit
berryIDisposable.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 BERRYIDISPOSABLE_H_
15 #define BERRYIDISPOSABLE_H_
16 
18 
19 #include <berryObject.h>
20 #include <berryMacros.h>
21 
22 namespace berry {
23 
45 struct IDisposable : public virtual Object
46 {
47 
49 
50  ~IDisposable() override;
51 
57  virtual void Dispose() = 0;
58 
59 };
60 
61 }
62 
63 #endif /* BERRYIDISPOSABLE_H_ */
berryObjectMacro(berry::IDisposable)
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
virtual void Dispose()=0
~IDisposable() override