11 #ifndef vtkProcessModule_h 12 #define vtkProcessModule_h 27 class vtkThreadedCallbackQueue;
58 DATA_SERVER_ROOT = 0x02,
60 RENDER_SERVER_ROOT = 0x08,
61 SERVERS = DATA_SERVER | RENDER_SERVER,
63 CLIENT_AND_SERVERS = DATA_SERVER | CLIENT | RENDER_SERVER
79 void UpdateProcessType(
ProcessTypes newType,
bool dontKnowWhatImDoing =
true);
95 static bool Finalize();
120 bool UnRegisterSession(
vtkIdType sessionID);
131 vtkGetMacro(EventCallDataSessionId,
vtkIdType);
170 vtkGetMacro(MultipleSessionsSupport,
bool);
171 vtkSetMacro(MultipleSessionsSupport,
bool);
172 vtkBooleanMacro(MultipleSessionsSupport,
bool);
207 int GetNumberOfLocalPartitions();
212 int GetPartitionId();
217 bool IsMPIInitialized();
223 vtkGetMacro(ReportInterpreterErrors,
bool);
224 vtkSetMacro(ReportInterpreterErrors,
bool);
225 vtkBooleanMacro(ReportInterpreterErrors,
bool);
229 static bool GetSymmetricMPIMode();
239 const std::string&
GetSelfDir()
const {
return this->SelfDir; }
257 static void SetDefaultMinimumGhostLevelsToRequestForStructuredPipelines(
int);
258 static int GetDefaultMinimumGhostLevelsToRequestForStructuredPipelines();
259 static void SetDefaultMinimumGhostLevelsToRequestForUnstructuredPipelines(
int);
260 static int GetDefaultMinimumGhostLevelsToRequestForUnstructuredPipelines();
267 static int GetNumberOfGhostLevelsToRequest(
vtkInformation* outInfo);
272 vtkThreadedCallbackQueue* GetCallbackQueue();
304 void SetExecutablePath(
const std::string& path);
318 void DetermineExecutablePath(
int argc,
char** argv);
323 bool InitializePythonEnvironment();
328 static bool FinalizeMPI;
332 static bool FinalizePython;
337 bool MultipleSessionsSupport;
341 std::string ProgramPath;
344 static int DefaultMinimumGhostLevelsToRequestForStructuredPipelines;
345 static int DefaultMinimumGhostLevelsToRequestForUnstructuredPipelines;
348 #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()
#define VTKREMOTINGCORE_EXPORT
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.
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.