NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkIGIDataSourceBackgroundDeleteThread.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 niftkIGIDataSourceBackgroundDeleteThread_h
16 #define niftkIGIDataSourceBackgroundDeleteThread_h
17 
18 #include "niftkIGIDataSourcesExports.h"
21 
22 namespace niftk
23 {
24 
29 class NIFTKIGIDATASOURCES_EXPORT IGIDataSourceBackgroundDeleteThread : public IGITimerBasedThread
30 {
31 public:
34 
38  virtual void OnTimeoutImpl() override;
39 
40 private:
41  IGICleanableDataSourceI *m_Source;
42 };
43 
44 } // end namespace
45 
46 #endif
Thread class, based on IGITimerBasedThread to simply call "CleanBuffer".
Definition: niftkIGIDataSourceBackgroundDeleteThread.h:29
Abstract base class for data sources that can clean their own buffer.
Definition: niftkIGICleanableDataSourceI.h:27
Base class for threads that are simply triggered off of a QTimer.
Definition: niftkIGITimerBasedThread.h:32
Definition: niftkExceptionObject.h:21
GLsizei GLsizei GLchar * source
Definition: glew.h:1816