'Classic' CCA c++ binding (ccaffeine-only) 0.5.7
MPIService.h
1#ifndef MPIService_h_seen
2#define MPIService_h_seen
3
4//requires:
5//#include <cca.h>
6//#include <mpi.h>
7
8
9namespace classic {
10
11namespace gov {
12 namespace cca {
13
15class MPIService : public virtual Port {
16
17public:
18
20 virtual ~MPIService() {}
21
24 virtual MPI_Comm getComm() CLASSIC_CCA_PURE;
26 virtual void releaseComm(MPI_Comm m) CLASSIC_CCA_PURE;
27
28};
29
30} ENDSEMI // cca
31} ENDSEMI // gov
32} ENDSEMI //CLASSIC
33
34
35#endif // MPIService_h_seen
UNADOPTED standard service.
Definition MPIService.h:15
virtual ~MPIService()
obligatory vdtor
Definition MPIService.h:20
virtual MPI_Comm getComm() CLASSIC_CCA_PURE
Get an mpi communicator with the same scope as the component instance.
virtual void releaseComm(MPI_Comm m) CLASSIC_CCA_PURE
Let go the communicator.
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