'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
MPIBorrow.h
1#ifndef MPIBorrow_h_seen
2#define MPIBorrow_h_seen
3
4//requires:
5//#include <cca.h>
6//#include <mpi.h>
7
8
9namespace classic {
10
11
12
13namespace gov {
14 namespace cca {
15
18class MPIBorrow : public virtual Port {
19
20public:
21
23 virtual ~MPIBorrow() {}
24
38 virtual MPI_Comm borrowComm(int tagCount, int *tagList, int &key) CLASSIC_CCA_PURE;
39
47 virtual void returnComm(MPI_Comm, int tagCount, int *tagList, int key) CLASSIC_CCA_PURE;
48};
49
50} ENDSEMI //cca
51} ENDSEMI //gov
52} ENDSEMI //CLASSIC
53
54#endif // MPIBorrow_h_seen
UNADOPTED standard service.
Definition MPIBorrow.h:18
virtual MPI_Comm borrowComm(int tagCount, int *tagList, int &key) CLASSIC_CCA_PURE
Get a communicator of the port provider.
virtual ~MPIBorrow()
obligatory vdtor
Definition MPIBorrow.h:23
virtual void returnComm(MPI_Comm, int tagCount, int *tagList, int key) CLASSIC_CCA_PURE
Return a previously borrowed communicator and tag list.
A tag interface to identify an interface capable of being exported to or imported from a CCA componen...
Definition cca.h:92
To deal with babel taking over this same namespace we name this one "classic.
Definition SimpleStamper.h:7