VTK  9.7.1
vtkDummyGPUInfoList.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
14 #ifndef vtkDummyGPUInfoList_h
15 #define vtkDummyGPUInfoList_h
16 
17 #include "vtkGPUInfoList.h"
18 #include "vtkRenderingOpenGL2Module.h" // For export macro
19 
20 VTK_ABI_NAMESPACE_BEGIN
22 class VTKRENDERINGOPENGL2_EXPORT vtkDummyGPUInfoList : public vtkGPUInfoList
23 {
24 public:
25  static vtkDummyGPUInfoList* New();
27  static vtkOverrideAttribute* CreateOverrideAttributes();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
35  void Probe() override;
36 
37 protected:
39 
43  ~vtkDummyGPUInfoList() override;
45 
46 private:
48  void operator=(const vtkDummyGPUInfoList&) = delete;
49 };
50 
51 #define vtkDummyGPUInfoList_OVERRIDE_ATTRIBUTES vtkDummyGPUInfoList::CreateOverrideAttributes()
52 
53 VTK_ABI_NAMESPACE_END
54 #endif
Stores the list of GPUs VRAM information.
Attribute for vtkObjectFactory overrides.
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:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_NEWINSTANCE
static vtkGPUInfoList * New()