Sophie

Sophie

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

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: dtnsim Namespace 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 class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><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="namespaces.html"><span>Namespace&nbsp;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>dtnsim Namespace Reference</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1ConnCommand.html">ConnCommand</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class to control the conn.  <a href="classdtnsim_1_1ConnCommand.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdtnsim_1_1ConnState.html">ConnState</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Helper struct to store the current connectivity settings between a pair (or set) of nodes.  <a href="structdtnsim_1_1ConnState.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1Connectivity.html">Connectivity</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Base class for the underlying connectivity management between nodes in the simulation.  <a href="classdtnsim_1_1Connectivity.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1Node.html">Node</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class representing a node in the simulator (i.e.  <a href="classdtnsim_1_1Node.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1NodeCommand.html">NodeCommand</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class to control the node.  <a href="classdtnsim_1_1NodeCommand.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimCLInfo.html">SimCLInfo</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimCommand.html">SimCommand</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class to control the sim.  <a href="classdtnsim_1_1SimCommand.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimLink.html">SimLink</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimConvergenceLayer.html">SimConvergenceLayer</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classdtnsim_1_1Simulator.html" title="The main simulator class.">Simulator</a> implementation of the Convergence Layer API.  <a href="classdtnsim_1_1SimConvergenceLayer.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimEvent.html">SimEvent</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimEventCompare.html">SimEventCompare</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimAtEvent.html">SimAtEvent</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimBundleEvent.html">SimBundleEvent</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimEventHandler.html">SimEventHandler</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Interface implemented by all objects that handle simulator events.  <a href="classdtnsim_1_1SimEventHandler.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimLog.html">SimLog</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class for more structured logging of bundle generation / reception.  <a href="classdtnsim_1_1SimLog.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1SimRegistration.html">SimRegistration</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Registration used for the simulator.  <a href="classdtnsim_1_1SimRegistration.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1Simulator.html">Simulator</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The main simulator class.  <a href="classdtnsim_1_1Simulator.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1Topology.html">Topology</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The class that maintains the topology of the network.  <a href="classdtnsim_1_1Topology.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdtnsim_1_1TrAgent.html">TrAgent</a></td></tr>

<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedtnsim.html#61b536ebb250b12bfe00104b1f33ef4d">sim_event_type_t</a> { <a class="el" href="namespacedtnsim.html#61b536ebb250b12bfe00104b1f33ef4d918aad3b730a21decb92ddebfa0c8690">SIM_AT_EVENT</a> =  0x1, 
<a class="el" href="namespacedtnsim.html#61b536ebb250b12bfe00104b1f33ef4d8596082fcc66c6a30e055876698de9bc">SIM_BUNDLE_EVENT</a>
 }</td></tr>

<tr><td colspan="2"><br><h2>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="namespacedtnsim.html#919404fdb5aa3358c3c9c367448e72fa">sim_ev2str</a> (<a class="el" href="namespacedtnsim.html#61b536ebb250b12bfe00104b1f33ef4d">sim_event_type_t</a> event)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pretty printer function simulation events.  <a href="#919404fdb5aa3358c3c9c367448e72fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedtnsim.html#372b0bd474085f20b38efbbade7ce72a">gettimeofday</a> (struct timeval *tv, struct timezone *tz)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Override gettimeofday to return the simulator time.  <a href="#372b0bd474085f20b38efbbade7ce72a"></a><br></td></tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="61b536ebb250b12bfe00104b1f33ef4d"></a><!-- doxytag: member="dtnsim::sim_event_type_t" ref="61b536ebb250b12bfe00104b1f33ef4d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="namespacedtnsim.html#61b536ebb250b12bfe00104b1f33ef4d">dtnsim::sim_event_type_t</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="61b536ebb250b12bfe00104b1f33ef4d918aad3b730a21decb92ddebfa0c8690"></a><!-- doxytag: member="SIM_AT_EVENT" ref="61b536ebb250b12bfe00104b1f33ef4d918aad3b730a21decb92ddebfa0c8690" args="" -->SIM_AT_EVENT</em>&nbsp;</td><td>
Generic event for delayed tcl commands. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="61b536ebb250b12bfe00104b1f33ef4d8596082fcc66c6a30e055876698de9bc"></a><!-- doxytag: member="SIM_BUNDLE_EVENT" ref="61b536ebb250b12bfe00104b1f33ef4d8596082fcc66c6a30e055876698de9bc" args="" -->SIM_BUNDLE_EVENT</em>&nbsp;</td><td>
Generic event for delayed bundle events. </td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="SimEvent_8h-source.html#l00033">33</a> of file <a class="el" href="SimEvent_8h-source.html">SimEvent.h</a>.</p>

</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="372b0bd474085f20b38efbbade7ce72a"></a><!-- doxytag: member="dtnsim::gettimeofday" ref="372b0bd474085f20b38efbbade7ce72a" args="(struct timeval *tv, struct timezone *tz)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dtnsim::gettimeofday           </td>
          <td>(</td>
          <td class="paramtype">struct timeval *&nbsp;</td>
          <td class="paramname"> <em>tv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct timezone *&nbsp;</td>
          <td class="paramname"> <em>tz</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Override gettimeofday to return the simulator time. 
<p>

<p>Definition at line <a class="el" href="Simulator_8cc-source.html#l00269">269</a> of file <a class="el" href="Simulator_8cc-source.html">Simulator.cc</a>.</p>

<p>References <a class="el" href="Simulator_8h-source.html#l00038">dtnsim::Simulator::time()</a>.</p>

<p>Referenced by <a class="el" href="BundleDaemon_8cc-source.html#l02125">dtn::BundleDaemon::add_to_pending()</a>, <a class="el" href="Announce_8h-source.html#l00097">dtn::Announce::Announce()</a>, <a class="el" href="StreamConvergenceLayer_8cc-source.html#l00914">dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::check_keepalive()</a>, <a class="el" href="BundleTimestamp_8cc-source.html#l00044">dtn::BundleTimestamp::check_local_clock()</a>, <a class="el" href="SerialConvergenceLayer_8cc-source.html#l00222">dtn::SerialConvergenceLayer::SerialConvergenceLayer::Connection::connect()</a>, <a class="el" href="IPAnnounce_8cc-source.html#l00082">dtn::IPAnnounce::format_advertisement()</a>, <a class="el" href="BundleTimestamp_8cc-source.html#l00034">dtn::BundleTimestamp::get_current_time()</a>, <a class="el" href="StreamConvergenceLayer_8cc-source.html#l00827">dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::handle_poll_timeout()</a>, <a class="el" href="SerialConvergenceLayer_8cc-source.html#l00276">dtn::SerialConvergenceLayer::SerialConvergenceLayer::Connection::handle_poll_timeout()</a>, <a class="el" href="Registration_8cc-source.html#l00186">dtn::Registration::init_expiration_timer()</a>, <a class="el" href="StreamConvergenceLayer_8cc-source.html#l00140">dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::initiate_contact()</a>, <a class="el" href="Announce_8h-source.html#l00073">dtn::Announce::interval_remaining()</a>, <a class="el" href="dtncat_8c-source.html#l00105">main()</a>, <a class="el" href="StreamConvergenceLayer_8cc-source.html#l01046">dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::note_data_rcvd()</a>, <a class="el" href="StreamConvergenceLayer_8cc-source.html#l01054">dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::note_data_sent()</a>, <a class="el" href="Registration_8cc-source.html#l00044">dtn::Registration::Registration()</a>, <a class="el" href="StreamConvergenceLayer_8cc-source.html#l00746">dtn::StreamConvergenceLayer::StreamConvergenceLayer::Connection::send_keepalive()</a>, <a class="el" href="serialsource_8c-source.html#l00336">source_wait()</a>, <a class="el" href="ProphetTimer_8h-source.html#l00059">dtn::ProphetTimer::time_remaining()</a>, <a class="el" href="dtncat_8c-source.html#l00257">to_bundles()</a>, and <a class="el" href="serialsource_8c-source.html#l00822">write_serial_packet()</a>.</p>

</div>
</div><p>
<a class="anchor" name="919404fdb5aa3358c3c9c367448e72fa"></a><!-- doxytag: member="dtnsim::sim_ev2str" ref="919404fdb5aa3358c3c9c367448e72fa" args="(sim_event_type_t event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* dtnsim::sim_ev2str           </td>
          <td>(</td>
          <td class="paramtype">sim_event_type_t&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pretty printer function simulation events. 
<p>

<p>Definition at line <a class="el" href="SimEvent_8h-source.html#l00042">42</a> of file <a class="el" href="SimEvent_8h-source.html">SimEvent.h</a>.</p>

<p>References <a class="el" href="SimEvent_8h-source.html#l00034">SIM_AT_EVENT</a>, and <a class="el" href="SimEvent_8h-source.html#l00035">SIM_BUNDLE_EVENT</a>.</p>

<p>Referenced by <a class="el" href="SimEvent_8h-source.html#l00066">dtnsim::SimEvent::type_str()</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:05 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>