.TH "sc::MsgMemoryGrp" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::MsgMemoryGrp \- A \fBMsgMemoryGrp\fP that initializes its data using a messagegrp\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::MemoryGrp\fP\&. .PP Inherited by \fBsc::ActiveMsgMemoryGrp\fP, \fBsc::RDMAMemoryGrp\fP, and \fBsc::ShmMemoryGrp\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBMsgMemoryGrp\fP (const \fBRef\fP< \fBMessageGrp\fP > &msg)" .br .ti -1c .RI "\fBMsgMemoryGrp\fP (const \fBRef\fP< \fBKeyVal\fP > &keyval)" .br .ti -1c .RI "void \fBset_localsize\fP (size_t \fBlocalsize\fP)" .br .RI "Set the size of locally held memory\&. " .ti -1c .RI "void \fBsync\fP ()" .br .RI "Synchronizes all the nodes\&. " .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "\fBRef\fP< \fBMessageGrp\fP > \fBmsg_\fP" .br .in -1c .SS "Additional Inherited Members" .SH "Detailed Description" .PP A \fBMsgMemoryGrp\fP that initializes its data using a messagegrp\&. .SH "Member Function Documentation" .PP .SS "void sc::MsgMemoryGrp::set_localsize (size_t)\fC [virtual]\fP" .PP 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 \fBn()\fP - 1\&. .PP Implements \fBsc::MemoryGrp\fP\&. .PP Reimplemented in \fBsc::ShmMemoryGrp\fP, and \fBsc::RDMAMemoryGrp\fP\&. .SS "void sc::MsgMemoryGrp::sync ()\fC [virtual]\fP" .PP Synchronizes all the nodes\&. This is useful after remote memory writes to be certain that all of the writes have completed and the data can be accessed locally, for example\&. .PP Implements \fBsc::MemoryGrp\fP\&. .PP Reimplemented in \fBsc::MTMPIMemoryGrp\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.