NAMD
Communicate.h
Go to the documentation of this file.
1
7
#ifndef COMMUNICATE_H
8
#define COMMUNICATE_H
9
10
class
MIStream
;
11
class
MOStream
;
12
13
#define ALL -1
14
#define ALLBUTME -2
15
#define BUFSIZE 4096
16
#define ANY -1
17
18
class
Communicate
{
19
20
private
:
21
int
CsmHandlerIndex;
22
int
CsmAckHandlerIndex;
23
int
parent;
24
int
nchildren;
25
int
children[2];
26
char
*ackmsg;
27
28
public
:
29
Communicate
(
void
);
30
~Communicate
();
31
MIStream
*
newInputStream
(
int
pe,
int
tag);
32
MOStream
*
newOutputStream
(
int
pe,
int
tag,
unsigned
int
bufsize);
33
void
*
getMessage
(
int
PE,
int
tag);
34
void
sendMessage
(
int
PE,
void
*msg,
int
size);
35
};
36
37
#include "
MStream.h
"
38
39
#endif
Communicate::getMessage
void * getMessage(int PE, int tag)
Definition:
Communicate.C:83
MIStream
Definition:
MStream.h:16
Communicate::newOutputStream
MOStream * newOutputStream(int pe, int tag, unsigned int bufsize)
Definition:
Communicate.C:77
MStream.h
MOStream
Definition:
MStream.h:101
Communicate::~Communicate
~Communicate()
Definition:
Communicate.C:66
Communicate::Communicate
Communicate(void)
Definition:
Communicate.C:32
Communicate
Definition:
Communicate.h:18
Communicate::sendMessage
void sendMessage(int PE, void *msg, int size)
Definition:
Communicate.C:113
Communicate::newInputStream
MIStream * newInputStream(int pe, int tag)
Definition:
Communicate.C:71
Generated by
1.8.14