-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_network_8h_source.html
61 lines (61 loc) · 4.13 KB
/
_network_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>naowalkoptimiser: /Users/jason/Code/naowalkoptimiser/src/Network/Network.h Source File</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.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<h1>/Users/jason/Code/naowalkoptimiser/src/Network/Network.h</h1><a href="_network_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef NETWORK_H_DEFINED</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define NETWORK_H_DEFINED</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include "../Globals.h"</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include "../Locomotion/Walk/sensors.h"</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include "../jwalkoptimiser.h"</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include "<a class="code" href="_udp_port_8h.html">UdpPort.h</a>"</span>
<a name="l00008"></a>00008
<a name="l00009"></a>00009
<a name="l00010"></a>00010
<a name="l00011"></a><a class="code" href="class_network.html">00011</a> <span class="keyword">class </span><a class="code" href="class_network.html">Network</a>
<a name="l00012"></a>00012 {
<a name="l00013"></a>00013 <span class="keyword">public</span>:
<a name="l00014"></a>00014 <a class="code" href="class_network.html#a3cc2fb4f8fa4d507077e8da85ce5a1c8">Network</a>();
<a name="l00015"></a>00015 <a class="code" href="class_network.html#a7a4e19cdb4bf0c7ecf82baa643831492">~Network</a>();
<a name="l00016"></a>00016 <span class="keywordtype">void</span> <a class="code" href="class_network.html#a15cbe881311ed4c57a46135e51153134">ProcessUpdates</a>();
<a name="l00017"></a>00017 <span class="keywordtype">void</span> <a class="code" href="class_network.html#a689fcbdac28746f52c9c3d715f67651c">SendUpdate</a>();
<a name="l00018"></a>00018
<a name="l00019"></a>00019 <span class="keyword">private</span>:
<a name="l00020"></a>00020
<a name="l00021"></a><a class="code" href="_network_8h.html#a2ab8d7b65701e5f31e530c8305cfab5e">00021</a> <span class="preprocessor"> #define WALK_PORT 6767</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span> <a class="code" href="class_udp_port.html">UdpPort</a> *udp_walk;
<a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="keywordtype">void</span> CheckWalkPacket();
<a name="l00025"></a>00025
<a name="l00026"></a>00026 <span class="keywordtype">void</span> SendOdometryPacket();
<a name="l00027"></a>00027 <span class="keywordtype">int</span> ConstructOdometryPacket(<a class="code" href="_udp_port_8h.html#a0c8186d9b9b7880309c27230bbb5e69d">byte</a>* data);
<a name="l00028"></a>00028 };
<a name="l00029"></a>00029
<a name="l00030"></a>00030 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Fri Oct 9 13:42:11 2009 for naowalkoptimiser by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>