Communicate.h

Go to the documentation of this file.
00001 
00007 #ifndef COMMUNICATE_H
00008 #define COMMUNICATE_H
00009 
00010 class MIStream;
00011 class MOStream;
00012 
00013 #define ALL      -1
00014 #define ALLBUTME -2
00015 #define BUFSIZE  4096
00016 #define ANY      -1
00017 
00018 class Communicate {
00019 
00020 private:
00021   int CsmHandlerIndex;
00022   int CsmAckHandlerIndex;
00023   int parent;
00024   int nchildren;
00025   int children[2];
00026   char *ackmsg;
00027 
00028 public:
00029   Communicate(void);
00030   ~Communicate();
00031   MIStream *newInputStream(int pe, int tag);
00032   MOStream *newOutputStream(int pe, int tag, unsigned int bufsize);
00033   void *getMessage(int PE, int tag);
00034   void sendMessage(int PE, void *msg, int size);
00035 };
00036 
00037 #include "MStream.h"
00038 
00039 #endif

Generated on Sat Sep 23 01:17:11 2017 for NAMD by  doxygen 1.4.7