NEOCCA bindings Specification  0.2.8
MPIService.hh
Go to the documentation of this file.
00001 #ifndef neoMPIService_h_seen
00002 #define neoMPIService_h_seen
00003 
00004 //requires:
00005 //#include <neocca.h>
00006 //#include <mpi.h>
00007 #ifdef MPI_COMM_NULL // this file is empty if mpi.h is not included
00008 
00009 
00010 namespace neo {
00011 namespace cca {
00012 namespace ports {
00013 
00018 class MPIService : public virtual neo::cca::Port {
00019 private:
00020 public:
00021 
00022         
00024   virtual ~MPIService() {}
00025 
00030   virtual MPI_Comm getComm()= 0;
00031 
00033   virtual void releaseComm(MPI_Comm m)= 0;
00034 
00035 };
00036 
00037 }  // end namespace ports
00038 }  // end namespace cca
00039 }  // end namespace neo
00040 
00041 #endif // MPI_CONGRUENT 
00042 #endif // neoMPIService_h_seen