Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 29c369053a983cc5d8c880dc6e0a2237 > files > 1655

libdtn-devel-2.6.0-2mdv2009.1.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>DTN Reference Implementation: prophet::QueueCompMOPR 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.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</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"><a class="el" href="namespaceprophet.html">prophet</a>::<a class="el" href="classprophet_1_1QueueCompMOPR.html">QueueCompMOPR</a>
  </div>
</div>
<div class="contents">
<h1>prophet::QueueCompMOPR Class Reference</h1><!-- doxytag: class="prophet::QueueCompMOPR" --><!-- doxytag: inherits="prophet::QueueComp" -->Queuing policy comparator for MOPR.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="QueuePolicy_8h-source.html">QueuePolicy.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for prophet::QueueCompMOPR:</div>
<div class="dynsection">

<p><center><img src="classprophet_1_1QueueCompMOPR.png" usemap="#prophet::QueueCompMOPR_map" border="0" alt=""></center>
<map name="prophet::QueueCompMOPR_map">
<area href="classprophet_1_1QueueComp.html" alt="prophet::QueueComp" shape="rect" coords="0,0,168,24">
</map>
</div>

<p>
<a href="classprophet_1_1QueueCompMOPR-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">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1QueueCompMOPR.html#c1bf533e46cc65eccb1fb2d3c99d8e0a">~QueueCompMOPR</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#c1bf533e46cc65eccb1fb2d3c99d8e0a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1QueueCompMOPR.html#43c0c8a1031f4c5b50f804a0edc1040e">operator()</a> (const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *a, const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *b) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual from std::greater.  <a href="#43c0c8a1031f4c5b50f804a0edc1040e"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1QueueCompMOPR.html#66f2b05db0ac94e70f34d58b2b06d268">QueueCompMOPR</a> (<a class="el" href="structprophet_1_1QueuePolicy.html#41e2705af81c561ed69d802afa47ed68">QueuePolicy::q_policy_t</a> qp, const <a class="el" href="classprophet_1_1Stats.html">Stats</a> *stats)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor, protected to enforce factory method.  <a href="#66f2b05db0ac94e70f34d58b2b06d268"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1QueueCompMOPR.html#e4262fabb83051b43029f37e7b89f035">QueuePolicy</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Queuing policy comparator for MOPR. 
<p>Definition at line <a class="el" href="QueuePolicy_8h-source.html#l00198">198</a> of file <a class="el" href="QueuePolicy_8h-source.html">QueuePolicy.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="c1bf533e46cc65eccb1fb2d3c99d8e0a"></a><!-- doxytag: member="prophet::QueueCompMOPR::~QueueCompMOPR" ref="c1bf533e46cc65eccb1fb2d3c99d8e0a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual prophet::QueueCompMOPR::~QueueCompMOPR           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

<p>Definition at line <a class="el" href="QueuePolicy_8h-source.html#l00204">204</a> of file <a class="el" href="QueuePolicy_8h-source.html">QueuePolicy.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="66f2b05db0ac94e70f34d58b2b06d268"></a><!-- doxytag: member="prophet::QueueCompMOPR::QueueCompMOPR" ref="66f2b05db0ac94e70f34d58b2b06d268" args="(QueuePolicy::q_policy_t qp, const Stats *stats)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">prophet::QueueCompMOPR::QueueCompMOPR           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structprophet_1_1QueuePolicy.html#41e2705af81c561ed69d802afa47ed68">QueuePolicy::q_policy_t</a>&nbsp;</td>
          <td class="paramname"> <em>qp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Stats.html">Stats</a> *&nbsp;</td>
          <td class="paramname"> <em>stats</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor, protected to enforce factory method. 
<p>

<p>Definition at line <a class="el" href="QueuePolicy_8h-source.html#l00228">228</a> of file <a class="el" href="QueuePolicy_8h-source.html">QueuePolicy.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="43c0c8a1031f4c5b50f804a0edc1040e"></a><!-- doxytag: member="prophet::QueueCompMOPR::operator()" ref="43c0c8a1031f4c5b50f804a0edc1040e" args="(const Bundle *a, const Bundle *b) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> prophet::QueueCompMOPR::operator()           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *&nbsp;</td>
          <td class="paramname"> <em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> *&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Virtual from std::greater. 
<p>

<p>Reimplemented from <a class="el" href="classprophet_1_1QueueComp.html#79271257666a0191396075ea75b57126">prophet::QueueComp</a>.</p>

<p>Definition at line <a class="el" href="QueuePolicy_8h-source.html#l00209">209</a> of file <a class="el" href="QueuePolicy_8h-source.html">QueuePolicy.h</a>.</p>

<p>References <a class="el" href="Stats_8cc-source.html#l00060">prophet::Stats::get_mopr()</a>, <a class="el" href="classprophet_1_1Bundle.html#8f4fad2c83696237207ba7a19acb9ca4">prophet::Bundle::sequence_num()</a>, <a class="el" href="QueuePolicy_8h-source.html#l00149">prophet::QueueComp::stats_</a>, and <a class="el" href="QueuePolicy_8h-source.html#l00155">prophet::QueueComp::verbose_</a>.</p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="e4262fabb83051b43029f37e7b89f035"></a><!-- doxytag: member="prophet::QueueCompMOPR::QueuePolicy" ref="e4262fabb83051b43029f37e7b89f035" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="structprophet_1_1QueuePolicy.html">QueuePolicy</a><code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="classprophet_1_1QueueComp.html#e4262fabb83051b43029f37e7b89f035">prophet::QueueComp</a>.</p>

<p>Definition at line <a class="el" href="QueuePolicy_8h-source.html#l00223">223</a> of file <a class="el" href="QueuePolicy_8h-source.html">QueuePolicy.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="QueuePolicy_8h-source.html">QueuePolicy.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:06 2009 for DTN Reference Implementation by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>