<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>unbound: replay_scenario 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.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div class="contents"> <h1>replay_scenario Struct Reference</h1><!-- doxytag: class="replay_scenario" -->A replay scenario. <a href="#_details">More...</a> <p> <code>#include <replay.h></code> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structreplay__scenario.html#b9ddb823ca1c40db233a013a80e9b627">title</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">name of replay scenario. <a href="#b9ddb823ca1c40db233a013a80e9b627"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structreplay__moment.html">replay_moment</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structreplay__scenario.html#e4446998bb053ce3288a5d574354a34a">mom_first</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The list of replay moments. <a href="#e4446998bb053ce3288a5d574354a34a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structreplay__moment.html">replay_moment</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structreplay__scenario.html#194bcd981b0987d575fc91e9eb8edcca">mom_last</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The last element in list of replay moments. <a href="#194bcd981b0987d575fc91e9eb8edcca"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct <a class="el" href="structreplay__range.html">replay_range</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structreplay__scenario.html#cb4b663cd82509dc7f0d10ab704ec757">range_list</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">List of matching answers. <a href="#cb4b663cd82509dc7f0d10ab704ec757"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A replay scenario. <hr><h2>Field Documentation</h2> <a class="anchor" name="b9ddb823ca1c40db233a013a80e9b627"></a><!-- doxytag: member="replay_scenario::title" ref="b9ddb823ca1c40db233a013a80e9b627" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char* <a class="el" href="structreplay__scenario.html#b9ddb823ca1c40db233a013a80e9b627">replay_scenario::title</a> </td> </tr> </table> </div> <div class="memdoc"> <p> name of replay scenario. <p> malloced string. <p>Referenced by <a class="el" href="replay_8c_source.html#l00277">make_scenario()</a>, <a class="el" href="replay_8c_source.html#l00365">replay_scenario_delete()</a>, and <a class="el" href="testbound_8c_source.html#l00175">setup_playback()</a>.</p> </div> </div><p> <a class="anchor" name="e4446998bb053ce3288a5d574354a34a"></a><!-- doxytag: member="replay_scenario::mom_first" ref="e4446998bb053ce3288a5d574354a34a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structreplay__moment.html">replay_moment</a>* <a class="el" href="structreplay__scenario.html#e4446998bb053ce3288a5d574354a34a">replay_scenario::mom_first</a><code> [read]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> The list of replay moments. <p> Linked list. Time increases in list. <p>Referenced by <a class="el" href="fake__event_8c_source.html#l00444">advance_moment()</a>, <a class="el" href="replay_8c_source.html#l00365">replay_scenario_delete()</a>, <a class="el" href="replay_8c_source.html#l00299">replay_scenario_read()</a>, and <a class="el" href="fake__event_8c_source.html#l00515">run_scenario()</a>.</p> </div> </div><p> <a class="anchor" name="194bcd981b0987d575fc91e9eb8edcca"></a><!-- doxytag: member="replay_scenario::mom_last" ref="194bcd981b0987d575fc91e9eb8edcca" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structreplay__moment.html">replay_moment</a>* <a class="el" href="structreplay__scenario.html#194bcd981b0987d575fc91e9eb8edcca">replay_scenario::mom_last</a><code> [read]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> The last element in list of replay moments. <p> <p>Referenced by <a class="el" href="replay_8c_source.html#l00299">replay_scenario_read()</a>.</p> </div> </div><p> <a class="anchor" name="cb4b663cd82509dc7f0d10ab704ec757"></a><!-- doxytag: member="replay_scenario::range_list" ref="cb4b663cd82509dc7f0d10ab704ec757" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">struct <a class="el" href="structreplay__range.html">replay_range</a>* <a class="el" href="structreplay__scenario.html#cb4b663cd82509dc7f0d10ab704ec757">replay_scenario::range_list</a><code> [read]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> List of matching answers. <p> This is to ease replay scenario creation. It lists queries (to the network) and what answer should be returned. The matching answers are valid for a range of time steps. So: timestep, parts of query, destination --> answer. <p>Referenced by <a class="el" href="fake__event_8c_source.html#l00184">pending_find_match()</a>, <a class="el" href="replay_8c_source.html#l00365">replay_scenario_delete()</a>, and <a class="el" href="replay_8c_source.html#l00299">replay_scenario_read()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>testcode/<a class="el" href="replay_8h.html">replay.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Oct 13 06:46:34 2009 for unbound by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>