00001 #ifndef MPIBorrow_h_seen
00002 #define MPIBorrow_h_seen
00003
00004
00005
00006
00007
00008
00009 namespace classic {
00010
00011
00012
00013 namespace gov {
00014 namespace cca {
00015
00018 class MPIBorrow : public virtual Port {
00019
00020 public:
00021
00023 virtual ~MPIBorrow() {}
00024
00038 virtual MPI_Comm borrowComm(int tagCount, int *tagList, int &key) CLASSIC_CCA_PURE;
00039
00047 virtual void returnComm(MPI_Comm, int tagCount, int *tagList, int key) CLASSIC_CCA_PURE;
00048 };
00049
00050 } ENDSEMI
00051 } ENDSEMI
00052 } ENDSEMI
00053
00054 #endif // MPIBorrow_h_seen