vtkCPCxxHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCPCxxHelper.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 #ifndef vtkCPCxxHelper_h
16 #define vtkCPCxxHelper_h
17 
18 #include "vtkObject.h"
19 #include "vtkPVCatalystModule.h" // For windows import/export of shared libraries
20 #include "vtkSmartPointer.h" // needed for vtkSmartPointer.
21 #include "vtkWeakPointer.h" // needed for vtkWeakPointer.
22 
23 class vtkPVOptions;
24 
34 {
35 public:
36  static vtkCPCxxHelper* New();
37  vtkTypeMacro(vtkCPCxxHelper, vtkObject);
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
40 protected:
42  virtual ~vtkCPCxxHelper();
43 
44 private:
45  vtkCPCxxHelper(const vtkCPCxxHelper&) = delete;
46  void operator=(const vtkCPCxxHelper&) = delete;
47 
49 
51  static vtkWeakPointer<vtkCPCxxHelper> Instance;
52  static bool ParaViewExternallyInitialized;
53 };
54 
55 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Singleton class for initializing without python.
#define VTKPVCATALYST_EXPORT
ParaView options storage.
Definition: vtkPVOptions.h:37
static vtkObject * New()
void operator=(const vtkObjectBase &)