vtkCPCxxHelper.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtkCPCxxHelper_h
4 #define vtkCPCxxHelper_h
5 
6 #include "vtkObject.h"
7 #include "vtkPVCatalystModule.h" // For windows import/export of shared libraries
8 #include "vtkSmartPointer.h" // needed for vtkSmartPointer.
9 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
10 
20 {
21 public:
22  static vtkCPCxxHelper* New();
23  vtkTypeMacro(vtkCPCxxHelper, vtkObject);
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
26 protected:
28  ~vtkCPCxxHelper() override;
29 
30 private:
31  vtkCPCxxHelper(const vtkCPCxxHelper&) = delete;
32  void operator=(const vtkCPCxxHelper&) = delete;
33 
35  static vtkWeakPointer<vtkCPCxxHelper> Instance;
36  static bool ParaViewExternallyInitialized;
37 };
38 
39 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Singleton class for initializing without python.
#define VTKPVCATALYST_EXPORT
static vtkObject * New()
void operator=(const vtkObjectBase &)