LAMA
lama::CommunicatorManager Class Reference

Base class for a communicator manager. More...

#include <CommunicatorManager.hpp>

Inheritance diagram for lama::CommunicatorManager:

Public Member Functions

virtual ~CommunicatorManager ()
virtual CommunicatorPtr getCommunicator (int &argc, char **&argv)=0
 Method that returns a communicator.

Protected Member Functions

 CommunicatorManager (const char *type)
 Constructor of a CommunicatorManager, type must be specified.
 LAMA_LOG_DECL_STATIC_LOGGER (logger)

Protected Attributes

std::string mCommunicatorType
 type of communicator managed

Detailed Description

Base class for a communicator manager.

For each communicator type a communicator manager must be available. The communicator manager registers in the CommunicatorFactory and delivers a shared pointer for a communicator.


Constructor & Destructor Documentation

lama::CommunicatorManager::CommunicatorManager ( const char *  type) [protected]

Constructor of a CommunicatorManager, type must be specified.


Member Function Documentation

virtual CommunicatorPtr lama::CommunicatorManager::getCommunicator ( int &  argc,
char **&  argv 
) [pure virtual]

Method that returns a communicator.

Parameters:
[in,out]argcnumber of arguments
[in,out]argvarray of command line arguments

Implemented in lama::MPICommunicatorManager, lama::PGASCommunicatorManager, and lama::NoCommunicatorManager.

Referenced by lama::MatrixConfigGrammar::MatrixConfigGrammar().


Field Documentation

type of communicator managed

Referenced by ~CommunicatorManager().


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