VTK
|
A communicator that can safely be used inside a painter. More...
#include <vtkPainterCommunicator.h>
Public Member Functions | |
vtkPainterCommunicator () | |
virtual | ~vtkPainterCommunicator () |
vtkPainterCommunicator (const vtkPainterCommunicator &other) | |
Copy and assignment operators. More... | |
vtkPainterCommunicator & | operator= (const vtkPainterCommunicator &other) |
virtual void | Copy (const vtkPainterCommunicator *, bool) |
Copy the communicator, the flag indicates if ownership should be assumed. More... | |
virtual void | Duplicate (const vtkPainterCommunicator *) |
Duplicate the communicator. More... | |
virtual int | GetRank () |
Querry MPI about the communicator. More... | |
virtual int | GetSize () |
virtual bool | GetIsNull () |
virtual int | GetWorldRank () |
Querry MPI about the world communicator. More... | |
virtual int | GetWorldSize () |
virtual bool | GetMPIInitialized () |
Querry MPI about its state. More... | |
virtual bool | GetMPIFinalized () |
A communicator that can safely be used inside a painter.
ranks that will execute a painter chain.
A simple container holding a handle to an MPI communicator. This API is sufficient to allow for control flow with/without MPI. The parallel parts of the code should use the derived class vtkPPainterCommunicator.
A communicator that can safely be used inside a painter. A simple container holding an MPI communicator. The simple API is sufficient to allow serial code (no MPI available) to steer execution.
Definition at line 30 of file vtkPainterCommunicator.h.
|
inline |
Definition at line 33 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Definition at line 34 of file vtkPainterCommunicator.h.
|
inline |
Copy and assignment operators.
Both use Copy internally and do take ownership.
Definition at line 40 of file vtkPainterCommunicator.h.
|
inline |
Definition at line 43 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Copy the communicator, the flag indicates if ownership should be assumed.
The owner is responsible for free'ing the communicator.
Reimplemented in vtkPPainterCommunicator.
Definition at line 51 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Duplicate the communicator.
Reimplemented in vtkPPainterCommunicator.
Definition at line 56 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Querry MPI about the communicator.
Reimplemented in vtkPPainterCommunicator.
Definition at line 61 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Reimplemented in vtkPPainterCommunicator.
Definition at line 62 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Reimplemented in vtkPPainterCommunicator.
Definition at line 63 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Querry MPI about the world communicator.
Reimplemented in vtkPPainterCommunicator.
Definition at line 68 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Reimplemented in vtkPPainterCommunicator.
Definition at line 69 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Querry MPI about its state.
Reimplemented in vtkPPainterCommunicator.
Definition at line 74 of file vtkPainterCommunicator.h.
|
inlinevirtual |
Reimplemented in vtkPPainterCommunicator.
Definition at line 75 of file vtkPainterCommunicator.h.