1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=UTF-8">
3 <title>Barry: Barry::ZeroPacket Class Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
5 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css">
7 <!-- Generated by Doxygen 1.5.6 -->
8 <div class=
"navigation" id=
"top">
11 <li><a href=
"index.html"><span>Main
Page
</span></a></li>
12 <li><a href=
"modules.html"><span>Modules
</span></a></li>
13 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
14 <li class=
"current"><a href=
"classes.html"><span>Classes
</span></a></li>
15 <li><a href=
"files.html"><span>Files
</span></a></li>
16 <li><a href=
"dirs.html"><span>Directories
</span></a></li>
21 <li><a href=
"classes.html"><span>Alphabetical
List
</span></a></li>
22 <li><a href=
"annotated.html"><span>Class
List
</span></a></li>
23 <li><a href=
"hierarchy.html"><span>Class
Hierarchy
</span></a></li>
24 <li><a href=
"functions.html"><span>Class
Members
</span></a></li>
27 <div class=
"navpath"><a class=
"el" href=
"namespaceBarry.html">Barry
</a>::
<a class=
"el" href=
"classBarry_1_1ZeroPacket.html">ZeroPacket
</a>
30 <div class=
"contents">
31 <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>
33 <div class=
"dynheader">
34 Inheritance diagram for Barry::ZeroPacket:
</div>
35 <div class=
"dynsection">
36 <p><center><img src=
"classBarry_1_1ZeroPacket__inherit__graph.png" border=
"0" usemap=
"#Barry_1_1ZeroPacket__inherit__map" alt=
"Inheritance graph"></center>
37 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center></div>
38 <div class=
"dynheader">
39 Collaboration diagram for Barry::ZeroPacket:
</div>
40 <div class=
"dynsection">
41 <p><center><img src=
"classBarry_1_1ZeroPacket__coll__graph.png" border=
"0" usemap=
"#Barry_1_1ZeroPacket__coll__map" alt=
"Collaboration graph"></center>
42 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center></div>
45 <a href=
"classBarry_1_1ZeroPacket-members.html">List of all members.
</a><hr><a name=
"_details"></a><h2>Detailed Description
</h2>
46 Provides an API for building and analyzing socket-
0 protocol packets.
48 This class relies on
2 external objects: a send and receive Data buffer.
<p>
49 Note that the receive buffer may be modified during a packet send, and this class provides API helpers to analyze the results.
50 <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>
51 <table border=
"0" cellpadding=
"0" cellspacing=
"0">
53 <tr><td colspan=
"2"><br><h2>Public Member Functions
</h2></td></tr>
54 <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>
56 <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>
57 <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>
59 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Builds command packet for sending echo request.
<a href=
"#274fb9e330544f188df45f03ebe9180a"></a><br></td></tr>
61 <hr><h2>Member Function Documentation
</h2>
62 <a class=
"anchor" name=
"7737431baba17201d588f1dba4c8bbe0"></a><!-- doxytag: member="Barry::ZeroPacket::GetAttribute" ref="7737431baba17201d588f1dba4c8bbe0" args="(unsigned int object, unsigned int attribute)" -->
64 <div class=
"memproto">
65 <table class=
"memname">
67 <td class=
"memname">void Barry::ZeroPacket::GetAttribute
</td>
69 <td class=
"paramtype">unsigned int
</td>
70 <td class=
"paramname"> <em>object
</em>,
</td>
73 <td class=
"paramkey"></td>
75 <td class=
"paramtype">unsigned int
</td>
76 <td class=
"paramname"> <em>attribute
</em></td><td> </td>
81 <td></td><td></td><td></td>
88 Builds a command packet for the initial socket-
0 handshakes that fetch certain (some unknown) attributes.
90 The attributes appear to exist in an object/attribute sequence, so that's how we address them here.
91 <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>
95 <a class=
"anchor" name=
"274fb9e330544f188df45f03ebe9180a"></a><!-- doxytag: member="Barry::ZeroPacket::Echo" ref="274fb9e330544f188df45f03ebe9180a" args="(uint64_t us_ticks)" -->
97 <div class=
"memproto">
98 <table class=
"memname">
100 <td class=
"memname">void Barry::ZeroPacket::Echo
</td>
102 <td class=
"paramtype">uint64_t
</td>
103 <td class=
"paramname"> <em>us_ticks
</em> </td>
104 <td> )
</td>
112 Builds command packet for sending echo request.
114 The parameter to this command is the number of microseconds elapsed since host computer startup.
115 <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>
119 <hr>The documentation for this class was generated from the following files:
<ul>
120 <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>
122 <hr size=
"1"><address style=
"text-align: right;"><small>Generated on Thu Feb
10 16:
14:
39 2011 for Barry by
123 <a href=
"http://www.doxygen.org/index.html">
124 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
"0"></a> 1.5.6 </small></address>