<!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::FwdStrategyCompGRTRMAX Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main 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 List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceprophet.html">prophet</a>::<a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html">FwdStrategyCompGRTRMAX</a> </div> </div> <div class="contents"> <h1>prophet::FwdStrategyCompGRTRMAX Class Reference</h1><!-- doxytag: class="prophet::FwdStrategyCompGRTRMAX" --><!-- doxytag: inherits="prophet::FwdStrategyComp" --><code>#include <<a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for prophet::FwdStrategyCompGRTRMAX:</div> <div class="dynsection"> <p><center><img src="classprophet_1_1FwdStrategyCompGRTRMAX.png" usemap="#prophet::FwdStrategyCompGRTRMAX_map" border="0" alt=""></center> <map name="prophet::FwdStrategyCompGRTRMAX_map"> <area href="classprophet_1_1FwdStrategyComp.html" alt="prophet::FwdStrategyComp" shape="rect" coords="0,0,225,24"> </map> </div> <p> <a href="classprophet_1_1FwdStrategyCompGRTRMAX-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00165">165</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p> <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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html#a6a47ccbc84a7dcc5df19822951a90c0">~FwdStrategyCompGRTRMAX</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a6a47ccbc84a7dcc5df19822951a90c0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="serialsource_8c.html#1062901a7428fdd9c7f180f5e01ea056">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html#026a2b75669272b830146fa33a967324">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"> </td><td class="mdescRight">Comparator function for FIFO ordering in a heap. <a href="#026a2b75669272b830146fa33a967324"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1Table.html">Table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html#4b8fee0471bc7d9e4f2050bcf8f261a8">remote_nodes</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Accessors. <a href="#4b8fee0471bc7d9e4f2050bcf8f261a8"></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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html#18e095f939279584d88391ae41c0feb2">FwdStrategyCompGRTRMAX</a> (<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">FwdStrategy::fwd_strategy_t</a> fs, const <a class="el" href="classprophet_1_1Table.html">Table</a> *remote)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor is protected to restrict access to factory method. <a href="#18e095f939279584d88391ae41c0feb2"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classprophet_1_1Table.html">Table</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html#408b329bb836e863552fb537e3e37c31">remote_</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">list of routes known by peer node <a href="#408b329bb836e863552fb537e3e37c31"></a><br></td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html#d399dade364b5046211f77a07e53d5fb">FwdStrategy</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">for factory method <a href="#d399dade364b5046211f77a07e53d5fb"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="a6a47ccbc84a7dcc5df19822951a90c0"></a><!-- doxytag: member="prophet::FwdStrategyCompGRTRMAX::~FwdStrategyCompGRTRMAX" ref="a6a47ccbc84a7dcc5df19822951a90c0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual prophet::FwdStrategyCompGRTRMAX::~FwdStrategyCompGRTRMAX </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destructor. <p> <p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00171">171</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p> </div> </div><p> <a class="anchor" name="18e095f939279584d88391ae41c0feb2"></a><!-- doxytag: member="prophet::FwdStrategyCompGRTRMAX::FwdStrategyCompGRTRMAX" ref="18e095f939279584d88391ae41c0feb2" args="(FwdStrategy::fwd_strategy_t fs, const Table *remote)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">prophet::FwdStrategyCompGRTRMAX::FwdStrategyCompGRTRMAX </td> <td>(</td> <td class="paramtype"><a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">FwdStrategy::fwd_strategy_t</a> </td> <td class="paramname"> <em>fs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classprophet_1_1Table.html">Table</a> * </td> <td class="paramname"> <em>remote</em></td><td> </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 is protected to restrict access to factory method. <p> <p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00189">189</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="026a2b75669272b830146fa33a967324"></a><!-- doxytag: member="prophet::FwdStrategyCompGRTRMAX::operator()" ref="026a2b75669272b830146fa33a967324" 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::FwdStrategyCompGRTRMAX::operator() </td> <td>(</td> <td class="paramtype">const <a class="el" href="classprophet_1_1Bundle.html">Bundle</a> * </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> * </td> <td class="paramname"> <em>b</em></td><td> </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> Comparator function for FIFO ordering in a heap. <p> <p>Reimplemented from <a class="el" href="classprophet_1_1FwdStrategyComp.html#977aa52b23eb49fe72e892f12102348d">prophet::FwdStrategyComp</a>.</p> <p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00173">173</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p> <p>References <a class="el" href="Table_8cc-source.html#l00090">prophet::Table::p_value()</a>, and <a class="el" href="FwdStrategy_8h-source.html#l00193">remote_</a>.</p> </div> </div><p> <a class="anchor" name="4b8fee0471bc7d9e4f2050bcf8f261a8"></a><!-- doxytag: member="prophet::FwdStrategyCompGRTRMAX::remote_nodes" ref="4b8fee0471bc7d9e4f2050bcf8f261a8" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classprophet_1_1Table.html">Table</a>* prophet::FwdStrategyCompGRTRMAX::remote_nodes </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Accessors. <p> <p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00180">180</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p> <p>References <a class="el" href="FwdStrategy_8h-source.html#l00193">remote_</a>.</p> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="d399dade364b5046211f77a07e53d5fb"></a><!-- doxytag: member="prophet::FwdStrategyCompGRTRMAX::FwdStrategy" ref="d399dade364b5046211f77a07e53d5fb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">friend class <a class="el" href="structprophet_1_1FwdStrategy.html">FwdStrategy</a><code> [friend]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> for factory method <p> <p>Reimplemented from <a class="el" href="classprophet_1_1FwdStrategyComp.html#d399dade364b5046211f77a07e53d5fb">prophet::FwdStrategyComp</a>.</p> <p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00184">184</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="408b329bb836e863552fb537e3e37c31"></a><!-- doxytag: member="prophet::FwdStrategyCompGRTRMAX::remote_" ref="408b329bb836e863552fb537e3e37c31" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classprophet_1_1Table.html">Table</a>* <a class="el" href="classprophet_1_1FwdStrategyCompGRTRMAX.html#408b329bb836e863552fb537e3e37c31">prophet::FwdStrategyCompGRTRMAX::remote_</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> list of routes known by peer node <p> <p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00193">193</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p> <p>Referenced by <a class="el" href="FwdStrategy_8h-source.html#l00173">operator()()</a>, and <a class="el" href="FwdStrategy_8h-source.html#l00180">remote_nodes()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:56 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>