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 "vtkRenderingOpenGL2Module.h" // For export macro
30 #include "vtkGPUInfoList.h"
31 
32 class VTKRENDERINGOPENGL2_EXPORT vtkDummyGPUInfoList : public vtkGPUInfoList
33 {
34 public:
35  static vtkDummyGPUInfoList* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
43  void Probe() override;
44 
45 protected:
47 
51  ~vtkDummyGPUInfoList() override;
53 
54 private:
56  void operator=(const vtkDummyGPUInfoList&) = delete;
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkGPUInfoList * New()