VTK
vtkDummyGPUInfoList.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDummyGPUInfoList.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
26 #ifndef vtkDummyGPUInfoList_h
27 #define vtkDummyGPUInfoList_h
28 
29 #include "vtkRenderingOpenGLModule.h" // For export macro
30 #include "vtkGPUInfoList.h"
31 
32 class VTKRENDERINGOPENGL_EXPORT vtkDummyGPUInfoList : public vtkGPUInfoList
33 {
34 public:
35  static vtkDummyGPUInfoList* New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
43  virtual void Probe();
44 
45 protected:
47 
51  virtual ~vtkDummyGPUInfoList();
53 
54 private:
55  vtkDummyGPUInfoList(const vtkDummyGPUInfoList&) VTK_DELETE_FUNCTION;
56  void operator=(const vtkDummyGPUInfoList&) VTK_DELETE_FUNCTION;
57 };
58 
59 #endif
Stores the list of GPUs VRAM information.
Do thing during Probe()
virtual void Probe()=0
Build the list of vtkInfoGPU if not done yet.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkGPUInfoList * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.