LAMA
/home/brandes/workspace/LAMA/src/lama/NoCommunicatorManager.hpp
Go to the documentation of this file.
00001 
00033 #ifndef LAMA_NO_COMMUNICATOR_MANAGER_HPP_
00034 #define LAMA_NO_COMMUNICATOR_MANAGER_HPP_
00035 
00036 // for dll_import
00037 #include <lama/config.hpp>
00038 
00039 // base classes
00040 #include <lama/CommunicatorManager.hpp>
00041 
00042 // boost
00043 #include <boost/weak_ptr.hpp>
00044 
00045 namespace lama
00046 {
00047 
00048 class NoCommunicatorManager : public CommunicatorManager
00049 {
00050 public:
00051 
00052     virtual ~NoCommunicatorManager();
00053 
00054     virtual CommunicatorPtr getCommunicator( int& argc, char** & argv );
00055 
00056 private:
00057 
00058     NoCommunicatorManager();
00059 
00060     boost::weak_ptr<class NoCommunicator> mCommunicatorInstance;
00061 
00062     static bool __init;   
00063 
00064     static bool init();   
00065 };
00066 
00067 }
00068 
00069 #endif // LAMA_NO_COMMUNICATOR_MANAGER_HPP_