VTK
Public Member Functions | List of all members
vtkPainterCommunicator Class Reference

#include <vtkPainterCommunicator.h>

Inheritance diagram for vtkPainterCommunicator:
[legend]

Public Member Functions

 vtkPainterCommunicator ()
 
virtual ~vtkPainterCommunicator ()
 
vtkPainterCommunicatoroperator= (const vtkPainterCommunicator &other)
 
virtual void Copy (const vtkPainterCommunicator *, bool)
 
virtual void Duplicate (const vtkPainterCommunicator *)
 
 vtkPainterCommunicator ()
 
virtual ~vtkPainterCommunicator ()
 
vtkPainterCommunicatoroperator= (const vtkPainterCommunicator &other)
 
virtual void Copy (const vtkPainterCommunicator *, bool)
 
virtual void Duplicate (const vtkPainterCommunicator *)
 
 vtkPainterCommunicator (const vtkPainterCommunicator &other)
 
virtual int GetRank ()
 
virtual int GetSize ()
 
virtual bool GetIsNull ()
 
virtual int GetWorldRank ()
 
virtual int GetWorldSize ()
 
virtual bool GetMPIInitialized ()
 
virtual bool GetMPIFinalized ()
 
 vtkPainterCommunicator (const vtkPainterCommunicator &other)
 
virtual int GetRank ()
 
virtual int GetSize ()
 
virtual bool GetIsNull ()
 
virtual int GetWorldRank ()
 
virtual int GetWorldSize ()
 
virtual bool GetMPIInitialized ()
 
virtual bool GetMPIFinalized ()
 

Detailed Description

ranks that will execute a painter chain.

A communicator that can safely be used inside a painter. 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.

ranks that will execute a painter chain.

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 31 of file vtkPainterCommunicator.h.

Constructor & Destructor Documentation

vtkPainterCommunicator::vtkPainterCommunicator ( )
inline

Definition at line 34 of file vtkPainterCommunicator.h.

virtual vtkPainterCommunicator::~vtkPainterCommunicator ( )
inlinevirtual

Definition at line 35 of file vtkPainterCommunicator.h.

vtkPainterCommunicator::vtkPainterCommunicator ( const vtkPainterCommunicator other)
inline

Copy and assignment operators. Both use Copy internally and do take ownership.

Definition at line 40 of file vtkPainterCommunicator.h.

vtkPainterCommunicator::vtkPainterCommunicator ( )
inline

Definition at line 34 of file vtkPainterCommunicator.h.

virtual vtkPainterCommunicator::~vtkPainterCommunicator ( )
inlinevirtual

Definition at line 35 of file vtkPainterCommunicator.h.

vtkPainterCommunicator::vtkPainterCommunicator ( const vtkPainterCommunicator other)
inline

Copy and assignment operators. Both use Copy internally and do take ownership.

Definition at line 40 of file vtkPainterCommunicator.h.

Member Function Documentation

vtkPainterCommunicator& vtkPainterCommunicator::operator= ( const vtkPainterCommunicator other)
inline

Definition at line 44 of file vtkPainterCommunicator.h.

virtual void vtkPainterCommunicator::Copy ( const vtkPainterCommunicator ,
bool   
)
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 49 of file vtkPainterCommunicator.h.

virtual void vtkPainterCommunicator::Duplicate ( const vtkPainterCommunicator )
inlinevirtual

Duplicate the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 52 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetRank ( )
inlinevirtual

Querry MPI about the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 56 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetSize ( )
inlinevirtual

Querry MPI about the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 57 of file vtkPainterCommunicator.h.

virtual bool vtkPainterCommunicator::GetIsNull ( )
inlinevirtual

Querry MPI about the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 58 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetWorldRank ( )
inlinevirtual

Querry MPI about the world communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 63 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetWorldSize ( )
inlinevirtual

Querry MPI about the world communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 64 of file vtkPainterCommunicator.h.

virtual bool vtkPainterCommunicator::GetMPIInitialized ( )
inlinevirtual

Querry MPI about its state.

Reimplemented in vtkPPainterCommunicator.

Definition at line 69 of file vtkPainterCommunicator.h.

virtual bool vtkPainterCommunicator::GetMPIFinalized ( )
inlinevirtual

Querry MPI about its state.

Reimplemented in vtkPPainterCommunicator.

Definition at line 70 of file vtkPainterCommunicator.h.

vtkPainterCommunicator& vtkPainterCommunicator::operator= ( const vtkPainterCommunicator other)
inline

Definition at line 44 of file vtkPainterCommunicator.h.

virtual void vtkPainterCommunicator::Copy ( const vtkPainterCommunicator ,
bool   
)
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 49 of file vtkPainterCommunicator.h.

virtual void vtkPainterCommunicator::Duplicate ( const vtkPainterCommunicator )
inlinevirtual

Duplicate the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 52 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetRank ( )
inlinevirtual

Querry MPI about the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 56 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetSize ( )
inlinevirtual

Querry MPI about the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 57 of file vtkPainterCommunicator.h.

virtual bool vtkPainterCommunicator::GetIsNull ( )
inlinevirtual

Querry MPI about the communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 58 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetWorldRank ( )
inlinevirtual

Querry MPI about the world communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 63 of file vtkPainterCommunicator.h.

virtual int vtkPainterCommunicator::GetWorldSize ( )
inlinevirtual

Querry MPI about the world communicator.

Reimplemented in vtkPPainterCommunicator.

Definition at line 64 of file vtkPainterCommunicator.h.

virtual bool vtkPainterCommunicator::GetMPIInitialized ( )
inlinevirtual

Querry MPI about its state.

Reimplemented in vtkPPainterCommunicator.

Definition at line 69 of file vtkPainterCommunicator.h.

virtual bool vtkPainterCommunicator::GetMPIFinalized ( )
inlinevirtual

Querry MPI about its state.

Reimplemented in vtkPPainterCommunicator.

Definition at line 70 of file vtkPainterCommunicator.h.


The documentation for this class was generated from the following file: