NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkIGIWaitForSavedDataSourceBuffer.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 
15 #ifndef niftkIGIWaitForSavedDataSourceBuffer_h
16 #define niftkIGIWaitForSavedDataSourceBuffer_h
17 
18 #include <niftkIGIDataSourcesExports.h>
21 
22 namespace niftk
23 {
24 
35 class NIFTKIGIDATASOURCES_EXPORT IGIWaitForSavedDataSourceBuffer : public IGIDataSourceBuffer
36 {
37 public:
38 
40  mitkNewMacro2Param(IGIWaitForSavedDataSourceBuffer, BufferType::size_type, IGIBufferedSaveableDataSourceI*)
41 
42 
46  virtual void CleanBuffer() override;
47 
51  virtual void SaveBuffer();
52 
53 protected:
54 
56  BufferType::size_type minSize,
57  niftk::IGIBufferedSaveableDataSourceI* source); // Purposefully hidden.
58 
59  virtual ~IGIWaitForSavedDataSourceBuffer(); // Purposefully hidden.
60 
61  IGIWaitForSavedDataSourceBuffer(const IGIWaitForSavedDataSourceBuffer&); // Purposefully not implemented.
62  IGIWaitForSavedDataSourceBuffer& operator=(const IGIWaitForSavedDataSourceBuffer&); // Purposefully not implemented.
63 
64 private:
65 
67 };
68 
69 } // end namespace
70 
71 #endif
Manages a buffer of niftk::IGIDataType, where the buffer will not delete things that have not yet bee...
Definition: niftkIGIWaitForSavedDataSourceBuffer.h:35
Manages a buffer of niftk::IGIDataType.
Definition: niftkIGIDataSourceBuffer.h:42
Definition: niftkExceptionObject.h:21
GLsizei GLsizei GLchar * source
Definition: glew.h:1816
Abstract base class for data sources that can clean their own buffer.
Definition: niftkIGIBufferedSaveableDataSourceI.h:28