2010-12-26 20:59:17 -04:00
<!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: /home/jgoppert/Projects/ap/libraries/APM_BinComm/test/test.cpp File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2010-12-26 23:23:35 -04:00
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javaScript" src = "search/search.js" > < / script >
2010-12-26 20:59:17 -04:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
2010-12-26 23:23:35 -04:00
< body onload = 'searchBox.OnSelectItem(0);' >
2010-12-26 20:59:17 -04:00
<!-- Generated by Doxygen 1.7.1 -->
< div class = "navigation" id = "top" >
< div class = "tabs" >
< ul class = "tablist" >
< 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 = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > File Members< / span > < / a > < / li >
< / ul >
< / div >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
< div class = "headertitle" >
< h1 > /home/jgoppert/Projects/ap/libraries/APM_BinComm/test/test.cpp File Reference< / h1 > < / div >
< / div >
< div class = "contents" >
< code > #include < stdint.h> < / code > < br / >
< code > #include < err.h> < / code > < br / >
< code > #include < unistd.h> < / code > < br / >
< code > #include < fcntl.h> < / code > < br / >
< code > #include < termios.h> < / code > < br / >
< code > #include < stdio.h> < / code > < br / >
< code > #include < string.h> < / code > < br / >
< code > #include " < a class = "el" href = "_w_program_8h_source.html" > WProgram.h< / a > " < / code > < br / >
< code > #include " ../APM_BinComm.h" < / 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 = "#_2home_2jgoppert_2_projects_2ap_2libraries_2_a_p_m___bin_comm_2test_2test_8cpp" alt = "" / > < / div >
< map name = "_2home_2jgoppert_2_projects_2ap_2libraries_2_a_p_m___bin_comm_2test_2test_8cpp" id = "_2home_2jgoppert_2_projects_2ap_2libraries_2_a_p_m___bin_comm_2test_2test_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 > < / 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 > ,& < a class = "el" href = "test_8cpp.html#aa9d3949e4023e37adada0665a885faef" > port< / a > )< / td > < / tr >
< tr > < td class = "memItemLeft" align = "right" valign = "top" > unsigned int < / 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 < / 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 > < / 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 > < / 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 < / 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,&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 > < / td >
< td class = "paramname" > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > & < / td >
< td class = "paramname" > < em > port< / em > < / td > < td > < / 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 < / td >
< td class = "paramname" > < em > argc< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char * < / td >
< td class = "paramname" > < em > argv< / em > []< / td > < td > < / 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 < / td >
< td class = "paramname" > < / td >
< td > ) < / 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 >
2010-12-26 23:23:35 -04:00
< hr class = "footer" / > < address class = "footer" > < small >
Generated for ArduPilot Libraries by < a href = "http://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > < / small > < / address >
2010-12-26 20:59:17 -04:00
< / body >
< / html >