NEOCCA bindings Specification  0.2.8
MPISetup.hh
Go to the documentation of this file.
00001 #ifndef neo_support_MPISetup_hh_seen
00002 #define neo_support_MPISetup_hh_seen
00003 
00004 namespace neo {
00005 namespace support {
00006 
00011 class MPISetup
00012 {
00013 
00014 private:
00015 
00016         neo::cca::Services *ms;
00017         neo::cca::AbstractFramework *naf;
00018         neo::cca::ports::MPIService *mpis;
00019         neo::cca::ports::MPIBorrow *mpib;
00020         neo::cca::ports::ServiceRegistry *sr;
00021         bool finalized;
00022 
00023 public:
00024 
00025         MPISetup();
00026         ~MPISetup();
00027 
00038         void initialize(MPI_Comm borrowComm, MPI_Comm dupComm, neo::cca::AbstractFramework *naf);
00039 
00046         void finalize(bool reclaim); 
00047 
00048 };
00049 
00050 }   // end namespace support
00051 }   // end namespace neo
00052 
00053 #endif // neo_support_MPISetup_hh_seen