'Classic' CCA c++ binding (ccaffeine-only)
0.5.7
|
00001 #ifndef MPIBorrow_h_seen 00002 #define MPIBorrow_h_seen 00003 00004 //requires: 00005 //#include <cca.h> 00006 //#include <mpi.h> 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 //cca 00051 } ENDSEMI //gov 00052 } ENDSEMI //CLASSIC 00053 00054 #endif // MPIBorrow_h_seen