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

sc::MsgMemoryGrp Class Reference

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

#include <memmsg.h>

Inheritance diagram for sc::MsgMemoryGrp:

sc::MemoryGrp sc::DescribedClass sc::RefCount sc::Identity sc::ActiveMsgMemoryGrp sc::ShmMemoryGrp sc::MTMPIMemoryGrp List of all members.

Public Member Functions

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

void sync ()
 Synchronizes all the nodes.


Protected Attributes

Ref< MessageGrpmsg_

Detailed Description

A MsgMemoryGrp that initializes its data using a messagegrp.


Member Function Documentation

void sc::MsgMemoryGrp::set_localsize size_t  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.

Implements sc::MemoryGrp.

Reimplemented in sc::ActiveMsgMemoryGrp, and sc::ShmMemoryGrp.

void sc::MsgMemoryGrp::sync  )  [virtual]
 

Synchronizes all the nodes.

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

Implements sc::MemoryGrp.

Reimplemented in sc::MTMPIMemoryGrp.


The documentation for this class was generated from the following file:
Generated at Sat Nov 1 15:17:06 2003 for MPQC 2.1.5 using the documentation package Doxygen 1.3.2.