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

MsgMemoryGrp Class Reference

A MsgMemoryGrp that initializes its data using a messagegrp. More...

#include <memmsg.h>

Inheritance diagram for MsgMemoryGrp

Inheritance graph
[legend]
Collaboration diagram for MsgMemoryGrp:

Collaboration graph
[legend]
List of all members.

Public Methods

 MsgMemoryGrp (const Ref< MessageGrp > &msg)
 MsgMemoryGrp (const Ref< KeyVal > &keyval)
 ~MsgMemoryGrp ()
void set_localsize (int localsize)
 Set the size of locally held memory. More...

void sync ()
 Synchronizes all the nodes. More...


Protected Attributes

Ref<MessageGrpmsg_

Detailed Description

A MsgMemoryGrp that initializes its data using a messagegrp.


Member Function Documentation

void MsgMemoryGrp::set_localsize ( int localsize ) [virtual]
 

Set the size of locally held memory.

When memory is accessed using a global offset counting starts at node 0 and proceeds up to node n() - 1.

Reimplemented from MemoryGrp.

Reimplemented in ActiveMsgMemoryGrp, and ShmMemoryGrp.

void MsgMemoryGrp::sync ( ) [virtual]
 

Synchronizes all the nodes.

Consider using this when the way you you access memory changes.

Reimplemented from MemoryGrp.

Reimplemented in MTMPIMemoryGrp.


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