23 #ifndef vtkProcessModule_h 24 #define vtkProcessModule_h 27 #include "vtkRemotingCoreModule.h" 69 DATA_SERVER_ROOT = 0x02,
71 RENDER_SERVER_ROOT = 0x08,
72 SERVERS = DATA_SERVER | RENDER_SERVER,
74 CLIENT_AND_SERVERS = DATA_SERVER | CLIENT | RENDER_SERVER
77 static ProcessTypes GetProcessType();
90 void UpdateProcessType(ProcessTypes newType,
bool dontKnowWhatImDoing =
true);
101 static bool Initialize(ProcessTypes type,
int& argc,
char**& argv);
106 static bool Finalize();
131 bool UnRegisterSession(
vtkIdType sessionID);
142 vtkGetMacro(EventCallDataSessionId,
vtkIdType);
181 vtkGetMacro(MultipleSessionsSupport,
bool);
182 vtkSetMacro(MultipleSessionsSupport,
bool);
183 vtkBooleanMacro(MultipleSessionsSupport,
bool);
228 int GetNumberOfLocalPartitions();
233 int GetPartitionId();
238 bool IsMPIInitialized();
244 vtkGetMacro(ReportInterpreterErrors,
bool);
245 vtkSetMacro(ReportInterpreterErrors,
bool);
246 vtkBooleanMacro(ReportInterpreterErrors,
bool);
255 vtkGetMacro(SymmetricMPIMode,
bool);
265 const std::string&
GetSelfDir()
const {
return this->SelfDir; }
283 static void SetDefaultMinimumGhostLevelsToRequestForStructuredPipelines(
int);
284 static int GetDefaultMinimumGhostLevelsToRequestForStructuredPipelines();
285 static void SetDefaultMinimumGhostLevelsToRequestForUnstructuredPipelines(
int);
286 static int GetDefaultMinimumGhostLevelsToRequestForUnstructuredPipelines();
293 static int GetNumberOfGhostLevelsToRequest(
vtkInformation* outInfo);
299 vtkSetMacro(SymmetricMPIMode,
bool);
328 void SetExecutablePath(
const std::string& path);
343 void DetermineExecutablePath(
int argc,
char** argv);
348 bool InitializePythonEnvironment();
353 static bool FinalizeMPI;
357 static bool FinalizePython;
362 bool SymmetricMPIMode;
364 bool MultipleSessionsSupport;
368 std::string ProgramPath;
371 static int DefaultMinimumGhostLevelsToRequestForStructuredPipelines;
372 static int DefaultMinimumGhostLevelsToRequestForUnstructuredPipelines;
375 #endif // vtkProcessModule_h
vtkIdType MaxSessionId
Used to keep track of maximum session used.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
bool ReportInterpreterErrors
vtkProcessModuleInternals * Internals
vtkSessionIterator is used to iterate over sessions in the global ProcessModule.
static unsigned int GetProcessTypeAsInt()
const std::string & GetProgramPath() const
The full path to the current executable that is running (or empty if unknown).
ServerFlags
These flags are used to specify destination servers for the SendStream function.
vtkNetworkAccessManager * NetworkAccessManager
const std::string & GetSelfDir() const
The directory containing the current executable (or empty if unknown).
vtkSession defines a session i.e.
ParaView options storage.
vtkNetworkAccessManager is used to create new connections and monitor activity of those connections.
void operator=(const vtkObjectBase &)
static ProcessTypes GetProcessType()
process initialization and management core for ParaView processes.