📄 class_limited_bandwidth.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>Crypto++: LimitedBandwidth 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.2 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.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="classes.html"><span>Alphabetical List</span></a></li> <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><h1>LimitedBandwidth Class Reference</h1><!-- doxytag: class="LimitedBandwidth" --><p>Inheritance diagram for LimitedBandwidth:<p><center><img src="class_limited_bandwidth.png" usemap="#LimitedBandwidth_map" border="0" alt=""></center><map name="LimitedBandwidth_map"><area href="class_nonblocking_sink.html" alt="NonblockingSink" shape="rect" coords="69,56,197,80"><area href="class_nonblocking_source.html" alt="NonblockingSource" shape="rect" coords="345,56,473,80"><area href="class_network_sink.html" alt="NetworkSink" shape="rect" coords="69,112,197,136"><area href="class_network_source.html" alt="NetworkSource" shape="rect" coords="345,112,473,136"><area href="class_socket_sink.html" alt="SocketSink" shape="rect" coords="0,168,128,192"><area href="class_windows_pipe_sink.html" alt="WindowsPipeSink" shape="rect" coords="138,168,266,192"><area href="class_socket_source.html" alt="SocketSource" shape="rect" coords="276,168,404,192"><area href="class_windows_pipe_source.html" alt="WindowsPipeSource" shape="rect" coords="414,168,542,192"></map><a href="class_limited_bandwidth-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2><p><p>Definition at line <a class="el" href="network_8h-source.html#l00015">15</a> of file <a class="el" href="network_8h-source.html">network.h</a>.<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"><a class="anchor" name="68e356f18bc679289c9c44bbfe8e2de5"></a><!-- doxytag: member="LimitedBandwidth::LimitedBandwidth" ref="68e356f18bc679289c9c44bbfe8e2de5" args="(lword maxBytesPerSecond=0)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#68e356f18bc679289c9c44bbfe8e2de5">LimitedBandwidth</a> (lword maxBytesPerSecond=0)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6bd1d7ab2fd038e150e058a30700b989"></a><!-- doxytag: member="LimitedBandwidth::GetMaxBytesPerSecond" ref="6bd1d7ab2fd038e150e058a30700b989" args="() const" -->lword </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#6bd1d7ab2fd038e150e058a30700b989">GetMaxBytesPerSecond</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f2b5be51a91d335f7ced2270e0f871ce"></a><!-- doxytag: member="LimitedBandwidth::SetMaxBytesPerSecond" ref="f2b5be51a91d335f7ced2270e0f871ce" args="(lword v)" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#f2b5be51a91d335f7ced2270e0f871ce">SetMaxBytesPerSecond</a> (lword v)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="619226f8c399a4e03c6685bfa3e5b40f"></a><!-- doxytag: member="LimitedBandwidth::ComputeCurrentTransceiveLimit" ref="619226f8c399a4e03c6685bfa3e5b40f" args="()" -->lword </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#619226f8c399a4e03c6685bfa3e5b40f">ComputeCurrentTransceiveLimit</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef86232b3bce4c5385f2a1137d63788f"></a><!-- doxytag: member="LimitedBandwidth::TimeToNextTransceive" ref="ef86232b3bce4c5385f2a1137d63788f" args="()" -->double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#ef86232b3bce4c5385f2a1137d63788f">TimeToNextTransceive</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f5922e286ecf2d6cc9f1c018f5ca6871"></a><!-- doxytag: member="LimitedBandwidth::NoteTransceive" ref="f5922e286ecf2d6cc9f1c018f5ca6871" args="(lword size)" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#f5922e286ecf2d6cc9f1c018f5ca6871">NoteTransceive</a> (lword size)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#1f5898c4e376b0d205fd784eaf5dec56">GetMaxWaitObjectCount</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="be3aabb618510d9629c1a65382fbfdb3"></a><!-- doxytag: member="LimitedBandwidth::GetWaitObjects" ref="be3aabb618510d9629c1a65382fbfdb3" args="(WaitObjectContainer &container, const CallStack &callStack)" -->void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_limited_bandwidth.html#be3aabb618510d9629c1a65382fbfdb3">GetWaitObjects</a> (<a class="el" href="class_wait_object_container.html">WaitObjectContainer</a> &container, const <a class="el" href="class_call_stack.html">CallStack</a> &callStack)</td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="1f5898c4e376b0d205fd784eaf5dec56"></a><!-- doxytag: member="LimitedBandwidth::GetMaxWaitObjectCount" ref="1f5898c4e376b0d205fd784eaf5dec56" args="() const" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned int LimitedBandwidth::GetMaxWaitObjectCount </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table></div><div class="memdoc"><p><a class="el" href="class_limited_bandwidth.html#be3aabb618510d9629c1a65382fbfdb3">GetWaitObjects()</a> must be called despite the 0 return from <a class="el" href="class_limited_bandwidth.html#1f5898c4e376b0d205fd784eaf5dec56">GetMaxWaitObjectCount()</a>; the 0 is because the ScheduleEvent() method is used instead of adding a wait object <p>Reimplemented in <a class="el" href="class_network_source.html#b467024c93ec09ec9f301e9a544f3b23">NetworkSource</a>, and <a class="el" href="class_network_sink.html#87f8ea4beb77135a3dc0ee1c5fcb72d5">NetworkSink</a>.<p>Definition at line <a class="el" href="network_8h-source.html#l00038">38</a> of file <a class="el" href="network_8h-source.html">network.h</a>.<p>Referenced by <a class="el" href="network_8cpp-source.html#l00401">NetworkSink::GetMaxWaitObjectCount()</a>, and <a class="el" href="network_8cpp-source.html#l00235">NetworkSource::GetMaxWaitObjectCount()</a>.</div></div><p><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="network_8h-source.html">network.h</a><li><a class="el" href="network_8cpp-source.html">network.cpp</a></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:41 2007 for Crypto++ by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -