vtkPVOptions.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVOptions.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 =========================================================================*/
25 #ifndef vtkPVOptions_h
26 #define vtkPVOptions_h
27 
28 #include "vtkCommandOptions.h"
29 #include "vtkParaViewDeprecation.h" // for PARAVIEW_DEPRECATED_IN_5_10_0
30 #include "vtkRemotingCoreModule.h" //needed for exports
31 
32 #include <string> // used for ivar
33 #include <utility> // needed for pair
34 #include <vector> // needed for vector
35 
36 class vtkPVOptionsInternal;
37 
39 {
40 protected:
41  friend class vtkPVOptionsXMLParser;
42 
43 public:
44  static vtkPVOptions* New();
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49  PARAVIEW_DEPRECATED_IN_5_10_0("Use `vtkCLIOptions` instead")
50  const char* GetHostName();
52  int GetConnectID();
54  void SetConnectID(int);
56  int GetTellVersion();
58  int GetSymmetricMPIMode();
60  int GetEnableStackTrace();
62  int GetTimeout();
64  const char* GetLogFileName();
66  int GetReverseConnection();
68  const char* GetServerURL();
70  const char* GetServersFileName();
72  int GetUseStereoRendering();
74  const char* GetStereoType();
76  const int* GetTileDimensions();
78  void GetTileDimensions(int[2]);
80  const int* GetTileMullions();
82  void GetTileMullions(int[2]);
84  bool GetIsInTileDisplay() const;
86  int GetForceOnscreenRendering();
88  int GetForceOffscreenRendering();
90  bool GetIsInCave() const;
92  int GetDisableXDisplayTests();
94  int GetEGLDeviceIndex();
96  int GetMultiClientMode();
98  int IsMultiClientModeDebug();
100  int GetDisableFurtherConnections();
102  int GetMultiServerMode();
104  const char* GetParaViewDataName();
106  const char* GetTestPlugins();
108  const char* GetTestPluginPaths();
110  int GetCatalystLivePort();
112  int GetDisableRegistry();
114  int GetPrintMonitors();
116 
118 
123 
125  {
126  PARAVIEW = 0x2,
127  PVCLIENT = 0x4,
128  PVSERVER = 0x8,
129  PVRENDER_SERVER = 0x10,
130  PVDATA_SERVER = 0x20,
131  PVBATCH = 0x40,
132  ALLPROCESS = PARAVIEW | PVCLIENT | PVSERVER | PVRENDER_SERVER | PVDATA_SERVER | PVBATCH
133  };
134 
135 protected:
136  vtkPVOptions();
137  ~vtkPVOptions() override;
138 
139 private:
140  vtkPVOptions(const vtkPVOptions&) = delete;
141  void operator=(const vtkPVOptions&) = delete;
142 };
143 
144 #endif
#define PARAVIEW_DEPRECATED_IN_5_10_0(reason)
command line options manager
Definition: vtkCLIOptions.h:58
void PrintSelf(ostream &os, vtkIndent indent) override
ProcessTypeEnum
Returns the verbosity level for stderr output chosen.
Definition: vtkPVOptions.h:124
ParaView options storage.
#define VTKREMOTINGCORE_EXPORT
ParaView options storage.
ParaView options storage.
Definition: vtkPVOptions.h:38
static vtkCommandOptions * New()
#define const
Definition: zconf.h:238