MPIAllToAllCommunicatorFactory Class Reference

Factory class used to create any of the available different mpi all-to-all exchange communicators. More...

#include <MPIAllToAllCommunicatorFactory.h>

Collaboration diagram for MPIAllToAllCommunicatorFactory:

Collaboration graph
[legend]

List of all members.

Public Types

enum  CommunicatorType { Default, SynchronuousShuffle }
 enum type holding identifiers for all available all-to-all exchange implementations. More...

Public Member Functions

 MPIAllToAllCommunicatorFactory (MPIAllToAllCommunicatorFactory::CommunicatorType commType)
 Constructs a mpi all-to-all communicator factory which creates a specific type of all-to-all communicator.
virtual ~MPIAllToAllCommunicatorFactory ()
MPIAllToAllCommunicatorgetCommunicator (MPIInputBufferVector &mpiInputBuffers, MPIOutputBufferVector &mpiOutputBuffers, MPI::Intracomm &comm, vector< bool > &incomingConnections, vector< bool > &outgoingConnections)
 Provides a pointer to a new created mpi all-to-all exchange communicator object.

Protected Attributes

CommunicatorType communicator_type
 Holder of the enum identifier of the all-to-all communicator this factory creates.


Detailed Description

Factory class used to create any of the available different mpi all-to-all exchange communicators.

Definition at line 15 of file MPIAllToAllCommunicatorFactory.h.


Member Enumeration Documentation

enum type holding identifiers for all available all-to-all exchange implementations.

Enumerator:
Default 
SynchronuousShuffle 

Definition at line 19 of file MPIAllToAllCommunicatorFactory.h.


Constructor & Destructor Documentation

MPIAllToAllCommunicatorFactory::MPIAllToAllCommunicatorFactory ( MPIAllToAllCommunicatorFactory::CommunicatorType  commType  ) 

Constructs a mpi all-to-all communicator factory which creates a specific type of all-to-all communicator.

Parameters:
commType an identifier of a specific implementation of the all-to-all exchange algorithm which this factory will create.

Definition at line 3 of file MPIAllToAllCommunicatorFactory.cpp.

MPIAllToAllCommunicatorFactory::~MPIAllToAllCommunicatorFactory (  )  [virtual]

Definition at line 7 of file MPIAllToAllCommunicatorFactory.cpp.


Member Function Documentation

MPIAllToAllCommunicator * MPIAllToAllCommunicatorFactory::getCommunicator ( MPIInputBufferVector mpiInputBuffers,
MPIOutputBufferVector mpiOutputBuffers,
MPI::Intracomm &  comm,
vector< bool > &  incomingConnections,
vector< bool > &  outgoingConnections 
)

Provides a pointer to a new created mpi all-to-all exchange communicator object.

Definition at line 12 of file MPIAllToAllCommunicatorFactory.cpp.

References communicator_type, Default, and SynchronuousShuffle.


Member Data Documentation

Holder of the enum identifier of the all-to-all communicator this factory creates.

Definition at line 40 of file MPIAllToAllCommunicatorFactory.h.

Referenced by getCommunicator().


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

Generated on Wed Jul 9 16:34:51 2008 for PCSIM by  doxygen 1.5.5