32 #ifndef vtkProcessGroup_h
33 #define vtkProcessGroup_h
36 #include "vtkParallelCoreModule.h"
38 VTK_ABI_NAMESPACE_BEGIN
79 vtkGetMacro(NumberOfProcessIds,
int);
94 int GetLocalProcessId();
102 int FindProcessId(
int processId);
108 int AddProcessId(
int processId);
116 int RemoveProcessId(
int processId);
121 void RemoveAllProcessIds();
142 VTK_ABI_NAMESPACE_END
143 #endif // vtkProcessGroup_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCommunicator * Communicator
a simple class to control print indentation
int GetProcessId(int pos)
Given a position in the group, returns the id of the process in the communicator this group is based ...
A subgroup of processes from a communicator.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Used to send/receive messages in a multiprocess environment.
Multiprocessing communication superclass.