PaCO++  0.05
paco_dummy.h
Go to the documentation of this file.
00001 #ifndef __paco_dummy_h_
00002 #define __paco_dummy_h_
00003 
00004 #include "paco_com.h"
00005 
00006 class paco_dummy : public paco_com
00007 {
00008  public:
00009   paco_dummy();
00010   ~paco_dummy();
00011 
00012   int paco_rank(int  * rank);
00013   int paco_barrier();
00014 
00015   int paco_bcast(void* buf, int count, int root);
00016 };
00017 
00018 class paco_dummy_fabrique : virtual public paco_fabrique_com 
00019 {
00020  public:
00021   paco_com* paco_create(void* group) {
00022     return new paco_dummy();
00023   }
00024 };
00025 
00026 #endif