NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkIGICleanableDataSourceI.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 #ifndef niftkIGICleanableDataSourceI_h
15 #define niftkIGICleanableDataSourceI_h
16 
17 #include "niftkIGIDataSourcesExports.h"
18 
19 namespace niftk
20 {
21 
27 class NIFTKIGIDATASOURCES_EXPORT IGICleanableDataSourceI
28 {
29 public:
30 
31  virtual void CleanBuffer() = 0;
32 
33 protected:
34 
35  IGICleanableDataSourceI(); // Purposefully hidden.
36  virtual ~IGICleanableDataSourceI(); // Purposefully hidden.
37 
38  IGICleanableDataSourceI(const IGICleanableDataSourceI&); // Purposefully not implemented.
39  IGICleanableDataSourceI& operator=(const IGICleanableDataSourceI&); // Purposefully not implemented.
40 
41 };
42 
43 } // end namespace
44 
45 #endif
Abstract base class for data sources that can clean their own buffer.
Definition: niftkIGICleanableDataSourceI.h:27
Definition: niftkExceptionObject.h:21