00001 #ifndef neoMPIService_h_seen
00002 #define neoMPIService_h_seen
00003
00004
00005
00006
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 }
00038 }
00039 }
00040
00041 #endif // MPI_CONGRUENT
00042 #endif // neoMPIService_h_seen