Sophie

Sophie

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

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::FwdStrategy Struct 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="structprophet_1_1FwdStrategy.html">FwdStrategy</a>
  </div>
</div>
<div class="contents">
<h1>prophet::FwdStrategy Struct Reference</h1><!-- doxytag: class="prophet::FwdStrategy" --><code>#include &lt;<a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>&gt;</code>
<p>

<p>
<a href="structprophet_1_1FwdStrategy-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">fwd_strategy_t</a> { <br>
&nbsp;&nbsp;<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9b5606df1e789e95473436978bdec3d6a">INVALID_FS</a> =  0, 
<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9d50665e088294ee93bfdab2b1887c683">GRTR</a>, 
<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff93556b70a32a018adc3efee4111f10580">GTMX</a>, 
<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff92dc38cf4c7a05c138524ad3ed80a5699">GRTR_PLUS</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff982360112f9e1c1b7137f30156eb45520">GTMX_PLUS</a>, 
<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9b9c1ff494a55bdfb4d57eb8a43666466">GRTR_SORT</a>, 
<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9ecc35b1ddfc1e3bd218f938a99327472">GRTR_MAX</a>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Forwarding strategies p.  <a href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1FwdStrategy.html#7f4f68ad00baaae6231d6b4162e92c1e">fs_to_str</a> (<a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">fwd_strategy_t</a> fs)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility function to convert type code to const char*.  <a href="#7f4f68ad00baaae6231d6b4162e92c1e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classprophet_1_1FwdStrategyComp.html">FwdStrategyComp</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprophet_1_1FwdStrategy.html#923e75aec806ac8dfdb97904e222ae7a">strategy</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> *local_nodes=NULL, const <a class="el" href="classprophet_1_1Table.html">Table</a> *remote_nodes=NULL)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Factory method to create instance of appropriate type of comparator.  <a href="#923e75aec806ac8dfdb97904e222ae7a"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00030">30</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="50567dba6d835926a1532568f6a46ff9"></a><!-- doxytag: member="prophet::FwdStrategy::fwd_strategy_t" ref="50567dba6d835926a1532568f6a46ff9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">prophet::FwdStrategy::fwd_strategy_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Forwarding strategies p. 
<p>
17, 3.6 <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="50567dba6d835926a1532568f6a46ff9b5606df1e789e95473436978bdec3d6a"></a><!-- doxytag: member="INVALID_FS" ref="50567dba6d835926a1532568f6a46ff9b5606df1e789e95473436978bdec3d6a" args="" -->INVALID_FS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="50567dba6d835926a1532568f6a46ff9d50665e088294ee93bfdab2b1887c683"></a><!-- doxytag: member="GRTR" ref="50567dba6d835926a1532568f6a46ff9d50665e088294ee93bfdab2b1887c683" args="" -->GRTR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="50567dba6d835926a1532568f6a46ff93556b70a32a018adc3efee4111f10580"></a><!-- doxytag: member="GTMX" ref="50567dba6d835926a1532568f6a46ff93556b70a32a018adc3efee4111f10580" args="" -->GTMX</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="50567dba6d835926a1532568f6a46ff92dc38cf4c7a05c138524ad3ed80a5699"></a><!-- doxytag: member="GRTR_PLUS" ref="50567dba6d835926a1532568f6a46ff92dc38cf4c7a05c138524ad3ed80a5699" args="" -->GRTR_PLUS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="50567dba6d835926a1532568f6a46ff982360112f9e1c1b7137f30156eb45520"></a><!-- doxytag: member="GTMX_PLUS" ref="50567dba6d835926a1532568f6a46ff982360112f9e1c1b7137f30156eb45520" args="" -->GTMX_PLUS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="50567dba6d835926a1532568f6a46ff9b9c1ff494a55bdfb4d57eb8a43666466"></a><!-- doxytag: member="GRTR_SORT" ref="50567dba6d835926a1532568f6a46ff9b9c1ff494a55bdfb4d57eb8a43666466" args="" -->GRTR_SORT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="50567dba6d835926a1532568f6a46ff9ecc35b1ddfc1e3bd218f938a99327472"></a><!-- doxytag: member="GRTR_MAX" ref="50567dba6d835926a1532568f6a46ff9ecc35b1ddfc1e3bd218f938a99327472" args="" -->GRTR_MAX</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00036">36</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="7f4f68ad00baaae6231d6b4162e92c1e"></a><!-- doxytag: member="prophet::FwdStrategy::fs_to_str" ref="7f4f68ad00baaae6231d6b4162e92c1e" args="(fwd_strategy_t fs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* prophet::FwdStrategy::fs_to_str           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">fwd_strategy_t</a>&nbsp;</td>
          <td class="paramname"> <em>fs</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Utility function to convert type code to const char*. 
<p>

<p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00050">50</a> of file <a class="el" href="FwdStrategy_8h-source.html">FwdStrategy.h</a>.</p>

<p>References <a class="el" href="dtn__ipc_8c.html#6d24efd83036c2dde8d9100adb9abffd">CASE</a>, <a class="el" href="FwdStrategy_8h-source.html#l00038">GRTR</a>, <a class="el" href="FwdStrategy_8h-source.html#l00043">GRTR_MAX</a>, <a class="el" href="FwdStrategy_8h-source.html#l00040">GRTR_PLUS</a>, <a class="el" href="FwdStrategy_8h-source.html#l00042">GRTR_SORT</a>, <a class="el" href="FwdStrategy_8h-source.html#l00039">GTMX</a>, and <a class="el" href="FwdStrategy_8h-source.html#l00041">GTMX_PLUS</a>.</p>

<p>Referenced by <a class="el" href="ProphetCommand_8cc-source.html#l00123">dtn::ProphetCommand::exec()</a>, and <a class="el" href="FwdStrategy_8h-source.html#l00104">prophet::FwdStrategyComp::fwd_strategy_str()</a>.</p>

</div>
</div><p>
<a class="anchor" name="923e75aec806ac8dfdb97904e222ae7a"></a><!-- doxytag: member="prophet::FwdStrategy::strategy" ref="923e75aec806ac8dfdb97904e222ae7a" args="(FwdStrategy::fwd_strategy_t fs, const Table *local_nodes=NULL, const Table *remote_nodes=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classprophet_1_1FwdStrategyComp.html">FwdStrategyComp</a> * prophet::FwdStrategy::strategy           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structprophet_1_1FwdStrategy.html#50567dba6d835926a1532568f6a46ff9">FwdStrategy::fwd_strategy_t</a>&nbsp;</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> *&nbsp;</td>
          <td class="paramname"> <em>local_nodes</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classprophet_1_1Table.html">Table</a> *&nbsp;</td>
          <td class="paramname"> <em>remote_nodes</em> = <code>NULL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Factory method to create instance of appropriate type of comparator. 
<p>

<p>Definition at line <a class="el" href="FwdStrategy_8h-source.html#l00219">219</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#l00038">GRTR</a>, <a class="el" href="FwdStrategy_8h-source.html#l00043">GRTR_MAX</a>, <a class="el" href="FwdStrategy_8h-source.html#l00040">GRTR_PLUS</a>, <a class="el" href="FwdStrategy_8h-source.html#l00042">GRTR_SORT</a>, <a class="el" href="FwdStrategy_8h-source.html#l00039">GTMX</a>, <a class="el" href="FwdStrategy_8h-source.html#l00041">GTMX_PLUS</a>, and <a class="el" href="FwdStrategy_8h-source.html#l00037">INVALID_FS</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct 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 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>