diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02300.html | 294 |
1 files changed, 294 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02300.html b/docs/doxygen/nel/a02300.html new file mode 100644 index 00000000..c47bdc35 --- /dev/null +++ b/docs/doxygen/nel/a02300.html @@ -0,0 +1,294 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLNET::CBufferizedOutPacket struct Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLNET::CBufferizedOutPacket Struct Reference</h1><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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketa0">CBufferizedOutPacket</a> (<a class="el" href="a03628.html">CUdpSock</a> *client, const <a class="el" href="a04558.html#a7">uint8</a> *packet, <a class="el" href="a04558.html#a11">uint32</a> packetSize, <a class="el" href="a04558.html#a11">uint32</a> delay, const <a class="el" href="a02665.html">CInetAddress</a> *<a class="el" href="a04223.html#a657">addr</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketa1">~CBufferizedOutPacket</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02665.html">CInetAddress</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo0">Addr</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03628.html">CUdpSock</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo1">Client</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo2">Packet</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo3">PacketSize</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>TTime </td><td class="memItemRight" valign=bottom><a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo4">Time</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLNET_1_1CBufferizedOutPacketa0" doxytag="NLNET::CBufferizedOutPacket::CBufferizedOutPacket" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLNET::CBufferizedOutPacket::CBufferizedOutPacket </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03628.html">CUdpSock</a> * </td> + <td class="mdname" nowrap> <em>client</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a04558.html#a7">uint8</a> * </td> + <td class="mdname" nowrap> <em>packet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>packetSize</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a> </td> + <td class="mdname" nowrap> <em>delay</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02665.html">CInetAddress</a> * </td> + <td class="mdname" nowrap> <em>addr</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06641.html#l00047">47</a> of file <a class="el" href="a06641.html">udp_sim_sock.cpp</a>. +<p> +References <a class="el" href="a06641.html#l00084">Addr</a>, <a class="el" href="a05646.html#l01127">addr</a>, <a class="el" href="a06641.html#l00080">Client</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06641.html#l00081">Packet</a>, <a class="el" href="a06641.html#l00082">PacketSize</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00047 : +00048 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo1">Client</a>(client), <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo3">PacketSize</a>(packetSize), <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo4">Time</a>(CTime::getLocalTime()+delay) +00049 { +00050 <a class="code" href="a04199.html#a6">nlassert</a> (packetSize > 0); +00051 <a class="code" href="a04199.html#a6">nlassert</a> (packet != NULL); +00052 <a class="code" href="a04199.html#a6">nlassert</a> (client != NULL); +00053 +00054 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo2">Packet</a> = <span class="keyword">new</span> <a class="code" href="a04558.html#a7">uint8</a>[packetSize]; +00055 memcpy (Packet, packet, packetSize); +00056 +00057 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a657">addr</a> != NULL) +00058 { +00059 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo0">Addr</a> = <span class="keyword">new</span> <a class="code" href="a02665.html">CInetAddress</a>; +00060 *<a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo0">Addr</a> = *<a class="code" href="a04223.html#a657">addr</a>; +00061 } +00062 <span class="keywordflow">else</span> +00063 { +00064 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo0">Addr</a> = NULL; +00065 } +00066 } + +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLNET_1_1CBufferizedOutPacketa1" doxytag="NLNET::CBufferizedOutPacket::~CBufferizedOutPacket" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLNET::CBufferizedOutPacket::~<a class="el" href="a02300.html">CBufferizedOutPacket</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06641.html#l00068">68</a> of file <a class="el" href="a06641.html">udp_sim_sock.cpp</a>. +<p> +References <a class="el" href="a06641.html#l00084">Addr</a>, <a class="el" href="a06641.html#l00080">Client</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06641.html#l00081">Packet</a>, and <a class="el" href="a06641.html#l00082">PacketSize</a>. +<p> +<div class="fragment"><pre>00069 { +00070 <a class="code" href="a04199.html#a6">nlassert</a> (Packet != NULL); +00071 <span class="keyword">delete</span> [] <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo2">Packet</a>; +00072 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo2">Packet</a> = NULL; +00073 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo1">Client</a> = NULL; +00074 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo3">PacketSize</a> = 0; +00075 <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo4">Time</a> = 0; +00076 <span class="keywordflow">if</span> (<a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo0">Addr</a> != NULL) +00077 <span class="keyword">delete</span> <a class="code" href="a02300.html#NLNET_1_1CBufferizedOutPacketo0">Addr</a>; +00078 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLNET_1_1CBufferizedOutPacketo0" doxytag="NLNET::CBufferizedOutPacket::Addr" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02665.html">CInetAddress</a>* <a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo0">NLNET::CBufferizedOutPacket::Addr</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06641.html#l00084">84</a> of file <a class="el" href="a06641.html">udp_sim_sock.cpp</a>. +<p> +Referenced by <a class="el" href="a06641.html#l00047">CBufferizedOutPacket()</a>, <a class="el" href="a06641.html#l00171">NLNET::CUdpSimSock::updateBufferizedPackets()</a>, and <a class="el" href="a06641.html#l00068">~CBufferizedOutPacket()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLNET_1_1CBufferizedOutPacketo1" doxytag="NLNET::CBufferizedOutPacket::Client" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a03628.html">CUdpSock</a>* <a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo1">NLNET::CBufferizedOutPacket::Client</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06641.html#l00080">80</a> of file <a class="el" href="a06641.html">udp_sim_sock.cpp</a>. +<p> +Referenced by <a class="el" href="a06641.html#l00047">CBufferizedOutPacket()</a>, and <a class="el" href="a06641.html#l00068">~CBufferizedOutPacket()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLNET_1_1CBufferizedOutPacketo2" doxytag="NLNET::CBufferizedOutPacket::Packet" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a>* <a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo2">NLNET::CBufferizedOutPacket::Packet</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06641.html#l00081">81</a> of file <a class="el" href="a06641.html">udp_sim_sock.cpp</a>. +<p> +Referenced by <a class="el" href="a06641.html#l00047">CBufferizedOutPacket()</a>, <a class="el" href="a06641.html#l00269">NLNET::CUdpSimSock::receive()</a>, <a class="el" href="a06641.html#l00171">NLNET::CUdpSimSock::updateBufferizedPackets()</a>, and <a class="el" href="a06641.html#l00068">~CBufferizedOutPacket()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLNET_1_1CBufferizedOutPacketo3" doxytag="NLNET::CBufferizedOutPacket::PacketSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo3">NLNET::CBufferizedOutPacket::PacketSize</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06641.html#l00082">82</a> of file <a class="el" href="a06641.html">udp_sim_sock.cpp</a>. +<p> +Referenced by <a class="el" href="a06641.html#l00047">CBufferizedOutPacket()</a>, <a class="el" href="a06641.html#l00269">NLNET::CUdpSimSock::receive()</a>, <a class="el" href="a06641.html#l00171">NLNET::CUdpSimSock::updateBufferizedPackets()</a>, and <a class="el" href="a06641.html#l00068">~CBufferizedOutPacket()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLNET_1_1CBufferizedOutPacketo4" doxytag="NLNET::CBufferizedOutPacket::Time" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> TTime <a class="el" href="a02300.html#NLNET_1_1CBufferizedOutPacketo4">NLNET::CBufferizedOutPacket::Time</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06641.html#l00083">83</a> of file <a class="el" href="a06641.html">udp_sim_sock.cpp</a>. +<p> +Referenced by <a class="el" href="a06641.html#l00115">NLNET::CUdpSimSock::sendUDP()</a>, and <a class="el" href="a06641.html#l00171">NLNET::CUdpSimSock::updateBufferizedPackets()</a>. </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="a06641.html">udp_sim_sock.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:52:15 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |