Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 247b28499c443e092731ffba814075f2 > files > 447

mpqc-html-2.3.1-9mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPQC: sc::MsgMemoryGrp Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1MsgMemoryGrp.html">MsgMemoryGrp</a>
  </div>
</div>
<div class="contents">
<h1>sc::MsgMemoryGrp Class Reference</h1><!-- doxytag: class="sc::MsgMemoryGrp" --><!-- doxytag: inherits="sc::MemoryGrp" -->A <a class="el" href="classsc_1_1MsgMemoryGrp.html" title="A MsgMemoryGrp that initializes its data using a messagegrp.">MsgMemoryGrp</a> that initializes its data using a messagegrp.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="memmsg_8h_source.html">memmsg.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for sc::MsgMemoryGrp:</div>
<div class="dynsection">

<p><center><img src="classsc_1_1MsgMemoryGrp.png" usemap="#sc::MsgMemoryGrp_map" border="0" alt=""></center>
<map name="sc::MsgMemoryGrp_map">
<area href="classsc_1_1MemoryGrp.html" alt="sc::MemoryGrp" shape="rect" coords="168,168,326,192">
<area href="classsc_1_1DescribedClass.html" alt="sc::DescribedClass" shape="rect" coords="168,112,326,136">
<area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="168,56,326,80">
<area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="168,0,326,24">
<area href="classsc_1_1ActiveMsgMemoryGrp.html" alt="sc::ActiveMsgMemoryGrp" shape="rect" coords="0,280,158,304">
<area href="classsc_1_1RDMAMemoryGrp.html" alt="sc::RDMAMemoryGrp" shape="rect" coords="168,280,326,304">
<area href="classsc_1_1ShmMemoryGrp.html" alt="sc::ShmMemoryGrp" shape="rect" coords="336,280,494,304">
<area href="classsc_1_1MTMPIMemoryGrp.html" alt="sc::MTMPIMemoryGrp" shape="rect" coords="0,336,158,360">
<area href="classsc_1_1ARMCIMemoryGrp.html" alt="sc::ARMCIMemoryGrp" shape="rect" coords="168,336,326,360">
</map>
</div>

<p>
<a href="classsc_1_1MsgMemoryGrp-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6676d322947902c65eba63f06bfa3e9f"></a><!-- doxytag: member="sc::MsgMemoryGrp::MsgMemoryGrp" ref="6676d322947902c65eba63f06bfa3e9f" args="(const Ref&lt; MessageGrp &gt; &amp;msg)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MsgMemoryGrp</b> (const <a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1MessageGrp.html">MessageGrp</a> &gt; &amp;msg)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="13857367c06269b3f185985a760e6a90"></a><!-- doxytag: member="sc::MsgMemoryGrp::MsgMemoryGrp" ref="13857367c06269b3f185985a760e6a90" args="(const Ref&lt; KeyVal &gt; &amp;keyval)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MsgMemoryGrp</b> (const <a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1KeyVal.html">KeyVal</a> &gt; &amp;keyval)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1MsgMemoryGrp.html#902db59bfb4f13979efa58b7d9077b53">set_localsize</a> (size_t localsize)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the size of locally held memory.  <a href="#902db59bfb4f13979efa58b7d9077b53"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1MsgMemoryGrp.html#0fd841a6c2d1547a8d66134f787f1cdc">sync</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Synchronizes all the nodes.  <a href="#0fd841a6c2d1547a8d66134f787f1cdc"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9cee0f258c569cc168e608f8d1829ba"></a><!-- doxytag: member="sc::MsgMemoryGrp::msg_" ref="c9cee0f258c569cc168e608f8d1829ba" args="" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1MessageGrp.html">MessageGrp</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>msg_</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="classsc_1_1MsgMemoryGrp.html" title="A MsgMemoryGrp that initializes its data using a messagegrp.">MsgMemoryGrp</a> that initializes its data using a messagegrp. 
<p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="902db59bfb4f13979efa58b7d9077b53"></a><!-- doxytag: member="sc::MsgMemoryGrp::set_localsize" ref="902db59bfb4f13979efa58b7d9077b53" args="(size_t localsize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sc::MsgMemoryGrp::set_localsize           </td>
          <td>(</td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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="classsc_1_1MemoryGrp.html#a2f204165147154bd15600ea8929b3c6" title="Returns how many nodes there are.">n()</a> - 1. 
<p>Implements <a class="el" href="classsc_1_1MemoryGrp.html#4ee243438a21eb017e3f5f6624ab9cfc">sc::MemoryGrp</a>.</p>

<p>Reimplemented in <a class="el" href="classsc_1_1ActiveMsgMemoryGrp.html#60953da3be5901a6f90fff5a80e028b3">sc::ActiveMsgMemoryGrp</a>, <a class="el" href="classsc_1_1ARMCIMemoryGrp.html#8d0b5d860b35b2510ddb2a4b88ef2503">sc::ARMCIMemoryGrp</a>, <a class="el" href="classsc_1_1RDMAMemoryGrp.html#49c353380e4629ae9222bda6708e5524">sc::RDMAMemoryGrp</a>, and <a class="el" href="classsc_1_1ShmMemoryGrp.html#ed4877a530a377d18ad6ea8529f9866c">sc::ShmMemoryGrp</a>.</p>

</div>
</div><p>
<a class="anchor" name="0fd841a6c2d1547a8d66134f787f1cdc"></a><!-- doxytag: member="sc::MsgMemoryGrp::sync" ref="0fd841a6c2d1547a8d66134f787f1cdc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sc::MsgMemoryGrp::sync           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Synchronizes all the nodes. 
<p>
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. 
<p>Implements <a class="el" href="classsc_1_1MemoryGrp.html#0ef395631d3e3b7fe740e28bb7d9f571">sc::MemoryGrp</a>.</p>

<p>Reimplemented in <a class="el" href="classsc_1_1ARMCIMemoryGrp.html#56a6e1bd41abd4b944fcf59b58a2f2e8">sc::ARMCIMemoryGrp</a>, and <a class="el" href="classsc_1_1MTMPIMemoryGrp.html#113a2c3b575498f47461ada78237ddd8">sc::MTMPIMemoryGrp</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="memmsg_8h_source.html">memmsg.h</a></ul>
</div>
<hr>
<address>
<small>

Generated at Wed Oct 14 14:12:16 2009 for <a
href="http://www.mpqc.org">MPQC</a>
2.3.1 using the documentation package <a
href="http://www.doxygen.org">Doxygen</a>
1.5.9.

</small>
</address>
</body>
</html>