<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Barry: Barry::ZeroPacket 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.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</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> <li><a href="dirs.html"><span>Directories</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> <div class="navpath"><a class="el" href="namespaceBarry.html">Barry</a>::<a class="el" href="classBarry_1_1ZeroPacket.html">ZeroPacket</a> </div> </div> <div class="contents"> <h1>Barry::ZeroPacket Class Reference</h1><!-- doxytag: class="Barry::ZeroPacket" --><!-- doxytag: inherits="Barry::Packet" --><code>#include <<a class="el" href="packet_8h-source.html">packet.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for Barry::ZeroPacket:</div> <div class="dynsection"> <p><center><img src="classBarry_1_1ZeroPacket__inherit__graph.png" border="0" usemap="#Barry_1_1ZeroPacket__inherit__map" alt="Inheritance graph"></center> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for Barry::ZeroPacket:</div> <div class="dynsection"> <p><center><img src="classBarry_1_1ZeroPacket__coll__graph.png" border="0" usemap="#Barry_1_1ZeroPacket__coll__map" alt="Collaboration graph"></center> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classBarry_1_1ZeroPacket-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Provides an API for building and analyzing socket-0 protocol packets. <p> This class relies on 2 external objects: a send and receive Data buffer.<p> Note that the receive buffer may be modified during a packet send, and this class provides API helpers to analyze the results. <p>Definition at line <a class="el" href="packet_8h-source.html#l00087">87</a> of file <a class="el" href="packet_8h-source.html">packet.h</a>.</p> <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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1ZeroPacket.html#7737431baba17201d588f1dba4c8bbe0">GetAttribute</a> (unsigned int object, unsigned int attribute)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Builds a command packet for the initial socket-0 handshakes that fetch certain (some unknown) attributes. <a href="#7737431baba17201d588f1dba4c8bbe0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1ZeroPacket.html#274fb9e330544f188df45f03ebe9180a">Echo</a> (uint64_t us_ticks)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Builds command packet for sending echo request. <a href="#274fb9e330544f188df45f03ebe9180a"></a><br></td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="7737431baba17201d588f1dba4c8bbe0"></a><!-- doxytag: member="Barry::ZeroPacket::GetAttribute" ref="7737431baba17201d588f1dba4c8bbe0" args="(unsigned int object, unsigned int attribute)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Barry::ZeroPacket::GetAttribute </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>attribute</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Builds a command packet for the initial socket-0 handshakes that fetch certain (some unknown) attributes. <p> The attributes appear to exist in an object/attribute sequence, so that's how we address them here. <p>Definition at line <a class="el" href="packet_8cc-source.html#l00078">78</a> of file <a class="el" href="packet_8cc-source.html">packet.cc</a>.</p> </div> </div><p> <a class="anchor" name="274fb9e330544f188df45f03ebe9180a"></a><!-- doxytag: member="Barry::ZeroPacket::Echo" ref="274fb9e330544f188df45f03ebe9180a" args="(uint64_t us_ticks)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Barry::ZeroPacket::Echo </td> <td>(</td> <td class="paramtype">uint64_t </td> <td class="paramname"> <em>us_ticks</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Builds command packet for sending echo request. <p> The parameter to this command is the number of microseconds elapsed since host computer startup. <p>Definition at line <a class="el" href="packet_8cc-source.html#l00102">102</a> of file <a class="el" href="packet_8cc-source.html">packet.cc</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="packet_8h-source.html">packet.h</a><li><a class="el" href="packet_8cc-source.html">packet.cc</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:50:59 2011 for Barry by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>