Google

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

sc::intMessageGrp Class Reference

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

#include <message.h>

Inheritance diagram for sc::intMessageGrp:

Inheritance graph
[legend]
Collaboration diagram for sc::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 Fri Jan 10 08:15:14 2003 for MPQC 2.1.3 using the documentation package Doxygen 1.2.14.