AcmDevice.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_20) on Thu Apr 26 18:24:31 CEST 2012 -->
  6. <TITLE>
  7. AcmDevice
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="AcmDevice";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/AcmAsyncInputStream.html" title="class in org.ros.android.android_acm_serial"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html" title="class in org.ros.android.android_acm_serial"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/ros/android/android_acm_serial/AcmDevice.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="AcmDevice.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.ros.android.android_acm_serial</FONT>
  80. <BR>
  81. Class AcmDevice</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.android_acm_serial.AcmDevice</B>
  85. </PRE>
  86. <HR>
  87. <DL>
  88. <DT><PRE>public class <B>AcmDevice</B><DT>extends java.lang.Object</DL>
  89. </PRE>
  90. <P>
  91. <HR>
  92. <P>
  93. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  94. <A NAME="constructor_summary"><!-- --></A>
  95. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  96. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  97. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  98. <B>Constructor Summary</B></FONT></TH>
  99. </TR>
  100. <TR BGCOLOR="white" CLASS="TableRowColor">
  101. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmDevice.html#AcmDevice(UsbDeviceConnection, UsbInterface)">AcmDevice</A></B>(UsbDeviceConnection&nbsp;usbDeviceConnection,
  102. UsbInterface&nbsp;usbInterface)</CODE>
  103. <BR>
  104. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  105. </TR>
  106. </TABLE>
  107. &nbsp;
  108. <!-- ========== METHOD SUMMARY =========== -->
  109. <A NAME="method_summary"><!-- --></A>
  110. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  111. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  112. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  113. <B>Method Summary</B></FONT></TH>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  117. <CODE>&nbsp;void</CODE></FONT></TD>
  118. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmDevice.html#close()">close</A></B>()</CODE>
  119. <BR>
  120. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  121. </TR>
  122. <TR BGCOLOR="white" CLASS="TableRowColor">
  123. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  124. <CODE>&nbsp;java.io.InputStream</CODE></FONT></TD>
  125. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmDevice.html#getInputStream()">getInputStream</A></B>()</CODE>
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>&nbsp;java.io.OutputStream</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmDevice.html#getOutputStream()">getOutputStream</A></B>()</CODE>
  133. <BR>
  134. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  138. <CODE>&nbsp;void</CODE></FONT></TD>
  139. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmDevice.html#setLineCoding(org.ros.android.android_acm_serial.BitRate, org.ros.android.android_acm_serial.StopBits, org.ros.android.android_acm_serial.Parity, org.ros.android.android_acm_serial.DataBits)">setLineCoding</A></B>(<A HREF="../../../../org/ros/android/android_acm_serial/BitRate.html" title="enum in org.ros.android.android_acm_serial">BitRate</A>&nbsp;bitRate,
  140. <A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A>&nbsp;stopBits,
  141. <A HREF="../../../../org/ros/android/android_acm_serial/Parity.html" title="enum in org.ros.android.android_acm_serial">Parity</A>&nbsp;parity,
  142. <A HREF="../../../../org/ros/android/android_acm_serial/DataBits.html" title="enum in org.ros.android.android_acm_serial">DataBits</A>&nbsp;dataBits)</CODE>
  143. <BR>
  144. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  145. </TR>
  146. </TABLE>
  147. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  148. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  149. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  150. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  151. </TR>
  152. <TR BGCOLOR="white" CLASS="TableRowColor">
  153. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  154. </TR>
  155. </TABLE>
  156. &nbsp;
  157. <P>
  158. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  159. <A NAME="constructor_detail"><!-- --></A>
  160. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  161. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  162. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  163. <B>Constructor Detail</B></FONT></TH>
  164. </TR>
  165. </TABLE>
  166. <A NAME="AcmDevice(UsbDeviceConnection, UsbInterface)"><!-- --></A><H3>
  167. AcmDevice</H3>
  168. <PRE>
  169. public <B>AcmDevice</B>(UsbDeviceConnection&nbsp;usbDeviceConnection,
  170. UsbInterface&nbsp;usbInterface)</PRE>
  171. <DL>
  172. </DL>
  173. <!-- ============ METHOD DETAIL ========== -->
  174. <A NAME="method_detail"><!-- --></A>
  175. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  176. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  177. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  178. <B>Method Detail</B></FONT></TH>
  179. </TR>
  180. </TABLE>
  181. <A NAME="setLineCoding(org.ros.android.android_acm_serial.BitRate, org.ros.android.android_acm_serial.StopBits, org.ros.android.android_acm_serial.Parity, org.ros.android.android_acm_serial.DataBits)"><!-- --></A><H3>
  182. setLineCoding</H3>
  183. <PRE>
  184. public void <B>setLineCoding</B>(<A HREF="../../../../org/ros/android/android_acm_serial/BitRate.html" title="enum in org.ros.android.android_acm_serial">BitRate</A>&nbsp;bitRate,
  185. <A HREF="../../../../org/ros/android/android_acm_serial/StopBits.html" title="enum in org.ros.android.android_acm_serial">StopBits</A>&nbsp;stopBits,
  186. <A HREF="../../../../org/ros/android/android_acm_serial/Parity.html" title="enum in org.ros.android.android_acm_serial">Parity</A>&nbsp;parity,
  187. <A HREF="../../../../org/ros/android/android_acm_serial/DataBits.html" title="enum in org.ros.android.android_acm_serial">DataBits</A>&nbsp;dataBits)</PRE>
  188. <DL>
  189. <DD><DL>
  190. </DL>
  191. </DD>
  192. </DL>
  193. <HR>
  194. <A NAME="getInputStream()"><!-- --></A><H3>
  195. getInputStream</H3>
  196. <PRE>
  197. public java.io.InputStream <B>getInputStream</B>()</PRE>
  198. <DL>
  199. <DD><DL>
  200. </DL>
  201. </DD>
  202. </DL>
  203. <HR>
  204. <A NAME="getOutputStream()"><!-- --></A><H3>
  205. getOutputStream</H3>
  206. <PRE>
  207. public java.io.OutputStream <B>getOutputStream</B>()</PRE>
  208. <DL>
  209. <DD><DL>
  210. </DL>
  211. </DD>
  212. </DL>
  213. <HR>
  214. <A NAME="close()"><!-- --></A><H3>
  215. close</H3>
  216. <PRE>
  217. public void <B>close</B>()</PRE>
  218. <DL>
  219. <DD><DL>
  220. </DL>
  221. </DD>
  222. </DL>
  223. <!-- ========= END OF CLASS DATA ========= -->
  224. <HR>
  225. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  226. <A NAME="navbar_bottom"><!-- --></A>
  227. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  228. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  229. <TR>
  230. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  231. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  232. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  233. <TR ALIGN="center" VALIGN="top">
  234. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  235. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  236. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  237. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  238. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  239. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  240. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  241. </TR>
  242. </TABLE>
  243. </TD>
  244. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  245. </EM>
  246. </TD>
  247. </TR>
  248. <TR>
  249. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  250. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/AcmAsyncInputStream.html" title="class in org.ros.android.android_acm_serial"><B>PREV CLASS</B></A>&nbsp;
  251. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/AcmDeviceActivity.html" title="class in org.ros.android.android_acm_serial"><B>NEXT CLASS</B></A></FONT></TD>
  252. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  253. <A HREF="../../../../index.html?org/ros/android/android_acm_serial/AcmDevice.html" target="_top"><B>FRAMES</B></A> &nbsp;
  254. &nbsp;<A HREF="AcmDevice.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  255. &nbsp;<SCRIPT type="text/javascript">
  256. <!--
  257. if(window==top) {
  258. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  259. }
  260. //-->
  261. </SCRIPT>
  262. <NOSCRIPT>
  263. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  264. </NOSCRIPT>
  265. </FONT></TD>
  266. </TR>
  267. <TR>
  268. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  269. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  270. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  271. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  272. </TR>
  273. </TABLE>
  274. <A NAME="skip-navbar_bottom"></A>
  275. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  276. <HR>
  277. </BODY>
  278. </HTML>