ardupilot/libraries/doc/html/test_8cpp.html

200 lines
8.9 KiB
HTML

<!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>ArduPilot Libraries: test.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</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="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<h1>test.cpp File Reference</h1> </div>
</div>
<div class="contents">
<code>#include &lt;stdint.h&gt;</code><br/>
<code>#include &lt;err.h&gt;</code><br/>
<code>#include &lt;unistd.h&gt;</code><br/>
<code>#include &lt;fcntl.h&gt;</code><br/>
<code>#include &lt;termios.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="_w_program_8h_source.html">WProgram.h</a>&quot;</code><br/>
<code>#include &quot;../APM_BinComm.h&quot;</code><br/>
<div class="dynheader">
Include dependency graph for test.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="test_8cpp__incl.png" border="0" usemap="#test_8cpp" alt=""/></div>
<map name="test_8cpp" id="test_8cpp">
<area shape="rect" id="node17" href="_w_program_8h.html" title="WProgram.h" alt="" coords="643,83,741,112"/></map>
</div>
<p><a href="test_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_bin_comm.html">BinComm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="test_8cpp.html#a42b50075184374b8c8753d61b50c8563">comm</a> (<a class="el" href="test_8cpp.html#ac3f04f306dac1700cd98ab7b03c0fe48">handlers</a>,&amp;<a class="el" href="test_8cpp.html#aa9d3949e4023e37adada0665a885faef">port</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="test_8cpp.html#a941a22cb7e0f6429fe40f91e83ead3d9">millis</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="test_8cpp.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_bin_comm_1_1_message_handler.html">BinComm::MessageHandler</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="test_8cpp.html#ac3f04f306dac1700cd98ab7b03c0fe48">handlers</a> []</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_stream.html">Stream</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="test_8cpp.html#aa9d3949e4023e37adada0665a885faef">port</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="test_8cpp.html#aeb74ae68ddf027f2d083efbf58e69882">port_fd</a></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a42b50075184374b8c8753d61b50c8563"></a><!-- doxytag: member="test.cpp::comm" ref="a42b50075184374b8c8753d61b50c8563" args="(handlers,&amp;port)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_bin_comm.html">BinComm</a> comm </td>
<td>(</td>
<td class="paramtype"><a class="el" href="test_8cpp.html#ac3f04f306dac1700cd98ab7b03c0fe48">handlers</a>&nbsp;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&amp;&nbsp;</td>
<td class="paramname"> <em>port</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a><!-- doxytag: member="test.cpp::main" ref="a0ddf1224851353fc92bfbff6f499fa97" args="(int argc, char *argv[])" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int main </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>argc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&nbsp;</td>
<td class="paramname"> <em>argv</em>[]</td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="test_8cpp_source.html#l00094">94</a> of file <a class="el" href="test_8cpp_source.html">test.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a941a22cb7e0f6429fe40f91e83ead3d9"></a><!-- doxytag: member="test.cpp::millis" ref="a941a22cb7e0f6429fe40f91e83ead3d9" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned int millis </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="test_8cpp_source.html#l00030">30</a> of file <a class="el" href="test_8cpp_source.html">test.cpp</a>.</p>
</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="ac3f04f306dac1700cd98ab7b03c0fe48"></a><!-- doxytag: member="test.cpp::handlers" ref="ac3f04f306dac1700cd98ab7b03c0fe48" args="[]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_bin_comm_1_1_message_handler.html">BinComm::MessageHandler</a> <a class="el" href="test_8cpp.html#ac3f04f306dac1700cd98ab7b03c0fe48">handlers</a>[]</td>
</tr>
</table>
</div>
<div class="memdoc">
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
{BinComm::MSG_ANY, handler, NULL},
{BinComm::MSG_NULL, 0, 0}
}
</pre></div>
<p>Definition at line <a class="el" href="test_8cpp_source.html#l00019">19</a> of file <a class="el" href="test_8cpp_source.html">test.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="aa9d3949e4023e37adada0665a885faef"></a><!-- doxytag: member="test.cpp::port" ref="aa9d3949e4023e37adada0665a885faef" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_stream.html">Stream</a> <a class="el" href="test_8cpp.html#aa9d3949e4023e37adada0665a885faef">port</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="test_8cpp_source.html#l00024">24</a> of file <a class="el" href="test_8cpp_source.html">test.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="aeb74ae68ddf027f2d083efbf58e69882"></a><!-- doxytag: member="test.cpp::port_fd" ref="aeb74ae68ddf027f2d083efbf58e69882" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="test_8cpp.html#aeb74ae68ddf027f2d083efbf58e69882">port_fd</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="test_8cpp_source.html#l00027">27</a> of file <a class="el" href="test_8cpp_source.html">test.cpp</a>.</p>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated for ArduPilot Libraries by&nbsp;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a></small></address>
</body>
</html>