Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

intMessageGrp Class Reference

Uses integer message types to send and receive messages. More...

#include <message.h>

Inheritance diagram for intMessageGrp

Inheritance graph
[legend]
Collaboration diagram for intMessageGrp:

Collaboration graph
[legend]
List of all members.

Public Methods

 ~intMessageGrp ()
void raw_send (int target, void *data, int nbyte)
void raw_recv (int sender, void *data, int nbyte)
void raw_sendt (int target, int type, void *data, int nbyte)
void raw_recvt (int type, void *data, int nbyte)
int probet (int)
 Ask if a given typed message has been received.

int leftover_ctl_bits ()

Protected Methods

int msgtype_typ (int msgtype)
int typ_msgtype (int usrtype)
int seq_msgtype (int source, int seq)
virtual void basic_send (int target, int type, void *data, int nbyte)=0
 Must be implemented by specializations.

virtual void basic_recv (int type, void *data, int nbyte)=0
 Must be implemented by specializations.

virtual int basic_probe (int type)=0
 Must be implemented by specializations.

 intMessageGrp ()
 intMessageGrp (const Ref< KeyVal > &)
void initialize (int me, int n, int nbits)

Protected Attributes

int msgtype_nbit
int ctl_nbit
int seq_nbit
int typ_nbit
int src_nbit
int ctl_mask
int seq_mask
int typ_mask
int src_mask
int ctl_shift
int seq_shift
int typ_shift
int src_shift
int* source_seq
int* target_seq

Detailed Description

Uses integer message types to send and receive messages.

Message group specializations that use the MPI library and the Paragon NX can be conveniently implemented in terms of this.


The documentation for this class was generated from the following file:
Generated at Thu Oct 4 18:09:16 2001 for MPQC 2.0.0 using the documentation package Doxygen 1.2.5.