<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>sc::MsgMemoryGrp class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:17:12 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>sc::MsgMemoryGrp Class Reference</h1>A <a class="el" href="class_sc__MsgMemoryGrp.html">MsgMemoryGrp</a> that initializes its data using a messagegrp. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="memmsg_h-source.html">memmsg.h</a>></code> <p> Inheritance diagram for sc::MsgMemoryGrp<p><center><img src="class_sc__MsgMemoryGrp_inherit_graph.gif" border="0" usemap="#sc::MsgMemoryGrp_inherit_map" alt="Inheritance graph"></center> <map name="sc::MsgMemoryGrp_inherit_map"> <area href="class_sc__ActiveMsgMemoryGrp.html" shape="rect" coords="14,347,171,366"> <area href="class_sc__ShmMemoryGrp.html" shape="rect" coords="195,347,318,366"> <area href="class_sc__MemoryGrp.html" shape="rect" coords="125,214,223,232"> <area href="class_sc__DescribedClass.html" shape="rect" coords="117,147,231,166"> <area href="class_sc__RefCount.html" shape="rect" coords="133,80,215,99"> <area href="class_sc__Identity.html" shape="rect" coords="138,14,210,32"> <area href="class_sc__MTMPIMemoryGrp.html" shape="rect" coords="22,414,163,432"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::MsgMemoryGrp:<p><center><img src="class_sc__MsgMemoryGrp_coll_graph.gif" border="0" usemap="#sc::MsgMemoryGrp_coll_map" alt="Collaboration graph"></center> <map name="sc::MsgMemoryGrp_coll_map"> <area href="class_sc__MemoryGrp.html" shape="rect" coords="182,237,281,256"> <area href="class_sc__DescribedClass.html" shape="rect" coords="14,152,129,171"> <area href="class_sc__RefCount.html" shape="rect" coords="30,83,113,101"> <area href="class_sc__Identity.html" shape="rect" coords="35,13,107,32"> <area href="class_sc__Ref.html" shape="rect" coords="262,152,398,171"> <area href="class_sc__RefBase.html" shape="rect" coords="371,83,449,101"> <area href="class_sc__Ref.html" shape="rect" coords="370,195,509,213"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__MsgMemoryGrp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a name="a0" doxytag="sc::MsgMemoryGrp::MsgMemoryGrp"></a> </td><td valign=bottom><b>MsgMemoryGrp</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__MessageGrp.html">MessageGrp</a> > &msg)</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::MsgMemoryGrp::MsgMemoryGrp"></a> </td><td valign=bottom><b>MsgMemoryGrp</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__KeyVal.html">KeyVal</a> > &keyval)</td></tr> <tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::MsgMemoryGrp::~MsgMemoryGrp"></a> </td><td valign=bottom><b>~MsgMemoryGrp</b> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_sc__MsgMemoryGrp.html#a3">set_localsize</a> (size_t localsize)</td></tr> <tr><td> </td><td><font size=-1><em>Set the size of locally held memory.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_sc__MsgMemoryGrp.html#a4">sync</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Synchronizes all the nodes.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a name="n0" doxytag="sc::MsgMemoryGrp::msg_"></a> <a class="el" href="class_sc__Ref.html">Ref</a><<a class="el" href="class_sc__MessageGrp.html">MessageGrp</a>> </td><td valign=bottom><b>msg_</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A <a class="el" href="class_sc__MsgMemoryGrp.html">MsgMemoryGrp</a> that initializes its data using a messagegrp. <p> <hr><h2>Member Function Documentation</h2> <a name="a3" doxytag="sc::MsgMemoryGrp::set_localsize"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void sc::MsgMemoryGrp::set_localsize ( </b></td> <td valign="bottom"><b> size_t <em>localsize</em> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Set the size of locally held memory. <p> When memory is accessed using a global offset counting starts at node 0 and proceeds up to node <a class="el" href="class_sc__MemoryGrp.html#a4">n</a>() - 1. <p> Reimplemented from <a class="el" href="class_sc__MemoryGrp.html#a5">sc::MemoryGrp</a>. <p> Reimplemented in <a class="el" href="class_sc__ActiveMsgMemoryGrp.html#a3">sc::ActiveMsgMemoryGrp</a>, and <a class="el" href="class_sc__ShmMemoryGrp.html#a3">sc::ShmMemoryGrp</a>. </td> </tr> </table> <a name="a4" doxytag="sc::MsgMemoryGrp::sync"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void sc::MsgMemoryGrp::sync ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Synchronizes all the nodes. <p> Consider using this when the way you you access memory changes. <p> Reimplemented from <a class="el" href="class_sc__MemoryGrp.html#a22">sc::MemoryGrp</a>. <p> Reimplemented in <a class="el" href="class_sc__MTMPIMemoryGrp.html#a5">sc::MTMPIMemoryGrp</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="memmsg_h-source.html">memmsg.h</a></ul> <hr> <address> <small> Generated at Mon Oct 14 14:17:12 2002 for <a href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a> 2.1.2 using the documentation package <a href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a> 1.2.5. </small> </address> </body> </html>