LAMA
|
00001 00034 #ifndef LAMA_PGAS_COMMUNICATOR_MANAGER_HPP_ 00035 #define LAMA_PGAS_COMMUNICATOR_MANAGER_HPP_ 00036 00037 #include <lama/CommunicatorManager.hpp> 00038 #include <lama/pgas/PGASCommunicator.hpp> 00039 00040 #include <logging/logging.hpp> 00041 00042 namespace lama 00043 { 00044 00051 class PGASCommunicatorManager: public CommunicatorManager 00052 { 00053 00054 public: 00055 00056 virtual CommunicatorPtr getCommunicator( int& argc, char** & argv ); 00057 00058 virtual ~PGASCommunicatorManager(); 00059 00060 private: 00061 00062 LAMA_LOG_DECL_STATIC_LOGGER(logger); 00063 00064 static bool __init; 00065 00066 static bool init(); 00067 00068 PGASCommunicatorManager(); 00069 00074 boost::shared_ptr<const PGASCommunicator> mCommInstance; 00075 }; 00076 00077 } 00078 00079 #endif // LAMA_PGAS_COMMUNICATOR_MANAGER_HPP_