MainActivity.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (version 1.7.0_21) on Wed Sep 25 23:19:35 KST 2013 -->
  6. <title>MainActivity</title>
  7. <meta name="date" content="2013-09-25">
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. </head>
  10. <body>
  11. <script type="text/javascript"><!--
  12. if (location.href.indexOf('is-external=true') == -1) {
  13. parent.document.title="MainActivity";
  14. }
  15. //-->
  16. </script>
  17. <noscript>
  18. <div>JavaScript is disabled on your browser.</div>
  19. </noscript>
  20. <!-- ========= START OF TOP NAVBAR ======= -->
  21. <div class="topNav"><a name="navbar_top">
  22. <!-- -->
  23. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  24. <!-- -->
  25. </a>
  26. <ul class="navList" title="Navigation">
  27. <li><a href="../../../../overview-summary.html">Overview</a></li>
  28. <li><a href="package-summary.html">Package</a></li>
  29. <li class="navBarCell1Rev">Class</li>
  30. <li><a href="package-tree.html">Tree</a></li>
  31. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  32. <li><a href="../../../../index-all.html">Index</a></li>
  33. <li><a href="../../../../help-doc.html">Help</a></li>
  34. </ul>
  35. </div>
  36. <div class="subNav">
  37. <ul class="navList">
  38. <li>Prev Class</li>
  39. <li>Next Class</li>
  40. </ul>
  41. <ul class="navList">
  42. <li><a href="../../../../index.html?org/ros/android/android_benchmarks/MainActivity.html" target="_top">Frames</a></li>
  43. <li><a href="MainActivity.html" target="_top">No Frames</a></li>
  44. </ul>
  45. <ul class="navList" id="allclasses_navbar_top">
  46. <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
  47. </ul>
  48. <div>
  49. <script type="text/javascript"><!--
  50. allClassesLink = document.getElementById("allclasses_navbar_top");
  51. if(window==top) {
  52. allClassesLink.style.display = "block";
  53. }
  54. else {
  55. allClassesLink.style.display = "none";
  56. }
  57. //-->
  58. </script>
  59. </div>
  60. <div>
  61. <ul class="subNavList">
  62. <li>Summary:&nbsp;</li>
  63. <li>Nested&nbsp;|&nbsp;</li>
  64. <li><a href="#fields_inherited_from_class_org.ros.android.RosActivity">Field</a>&nbsp;|&nbsp;</li>
  65. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  66. <li><a href="#method_summary">Method</a></li>
  67. </ul>
  68. <ul class="subNavList">
  69. <li>Detail:&nbsp;</li>
  70. <li>Field&nbsp;|&nbsp;</li>
  71. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  72. <li><a href="#method_detail">Method</a></li>
  73. </ul>
  74. </div>
  75. <a name="skip-navbar_top">
  76. <!-- -->
  77. </a></div>
  78. <!-- ========= END OF TOP NAVBAR ========= -->
  79. <!-- ======== START OF CLASS DATA ======== -->
  80. <div class="header">
  81. <div class="subTitle">org.ros.android.android_benchmarks</div>
  82. <h2 title="Class MainActivity" class="title">Class MainActivity</h2>
  83. </div>
  84. <div class="contentContainer">
  85. <ul class="inheritance">
  86. <li>java.lang.Object</li>
  87. <li>
  88. <ul class="inheritance">
  89. <li>Activity</li>
  90. <li>
  91. <ul class="inheritance">
  92. <li><a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">org.ros.android.RosActivity</a></li>
  93. <li>
  94. <ul class="inheritance">
  95. <li>org.ros.android.android_benchmarks.MainActivity</li>
  96. </ul>
  97. </li>
  98. </ul>
  99. </li>
  100. </ul>
  101. </li>
  102. </ul>
  103. <div class="description">
  104. <ul class="blockList">
  105. <li class="blockList">
  106. <hr>
  107. <br>
  108. <pre>public class <span class="strong">MainActivity</span>
  109. extends <a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a></pre>
  110. </li>
  111. </ul>
  112. </div>
  113. <div class="summary">
  114. <ul class="blockList">
  115. <li class="blockList">
  116. <!-- =========== FIELD SUMMARY =========== -->
  117. <ul class="blockList">
  118. <li class="blockList"><a name="field_summary">
  119. <!-- -->
  120. </a>
  121. <h3>Field Summary</h3>
  122. <ul class="blockList">
  123. <li class="blockList"><a name="fields_inherited_from_class_org.ros.android.RosActivity">
  124. <!-- -->
  125. </a>
  126. <h3>Fields inherited from class&nbsp;org.ros.android.<a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a></h3>
  127. <code><a href="../../../../org/ros/android/RosActivity.html#nodeMainExecutorService">nodeMainExecutorService</a></code></li>
  128. </ul>
  129. </li>
  130. </ul>
  131. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  132. <ul class="blockList">
  133. <li class="blockList"><a name="constructor_summary">
  134. <!-- -->
  135. </a>
  136. <h3>Constructor Summary</h3>
  137. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  138. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  139. <tr>
  140. <th class="colOne" scope="col">Constructor and Description</th>
  141. </tr>
  142. <tr class="altColor">
  143. <td class="colOne"><code><strong><a href="../../../../org/ros/android/android_benchmarks/MainActivity.html#MainActivity()">MainActivity</a></strong>()</code>&nbsp;</td>
  144. </tr>
  145. </table>
  146. </li>
  147. </ul>
  148. <!-- ========== METHOD SUMMARY =========== -->
  149. <ul class="blockList">
  150. <li class="blockList"><a name="method_summary">
  151. <!-- -->
  152. </a>
  153. <h3>Method Summary</h3>
  154. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  155. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  156. <tr>
  157. <th class="colFirst" scope="col">Modifier and Type</th>
  158. <th class="colLast" scope="col">Method and Description</th>
  159. </tr>
  160. <tr class="altColor">
  161. <td class="colFirst"><code>protected void</code></td>
  162. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_benchmarks/MainActivity.html#init(org.ros.node.NodeMainExecutor)">init</a></strong>(org.ros.node.NodeMainExecutor&nbsp;nodeMainExecutor)</code>
  163. <div class="block">This method is called in a background thread once this <code>Activity</code> has
  164. been initialized with a master <code>URI</code> via the <a href="../../../../org/ros/android/MasterChooser.html" title="class in org.ros.android"><code>MasterChooser</code></a>
  165. and a <a href="../../../../org/ros/android/NodeMainExecutorService.html" title="class in org.ros.android"><code>NodeMainExecutorService</code></a> has started.</div>
  166. </td>
  167. </tr>
  168. <tr class="rowColor">
  169. <td class="colFirst"><code>void</code></td>
  170. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_benchmarks/MainActivity.html#onCreate(Bundle)">onCreate</a></strong>(Bundle&nbsp;savedInstanceState)</code>&nbsp;</td>
  171. </tr>
  172. </table>
  173. <ul class="blockList">
  174. <li class="blockList"><a name="methods_inherited_from_class_org.ros.android.RosActivity">
  175. <!-- -->
  176. </a>
  177. <h3>Methods inherited from class&nbsp;org.ros.android.<a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a></h3>
  178. <code><a href="../../../../org/ros/android/RosActivity.html#getMasterUri()">getMasterUri</a>, <a href="../../../../org/ros/android/RosActivity.html#onActivityResult(int, int, Intent)">onActivityResult</a>, <a href="../../../../org/ros/android/RosActivity.html#onDestroy()">onDestroy</a>, <a href="../../../../org/ros/android/RosActivity.html#onStart()">onStart</a>, <a href="../../../../org/ros/android/RosActivity.html#startActivityForResult(Intent, int)">startActivityForResult</a>, <a href="../../../../org/ros/android/RosActivity.html#startMasterChooser()">startMasterChooser</a></code></li>
  179. </ul>
  180. <ul class="blockList">
  181. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  182. <!-- -->
  183. </a>
  184. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  185. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  186. </ul>
  187. </li>
  188. </ul>
  189. </li>
  190. </ul>
  191. </div>
  192. <div class="details">
  193. <ul class="blockList">
  194. <li class="blockList">
  195. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  196. <ul class="blockList">
  197. <li class="blockList"><a name="constructor_detail">
  198. <!-- -->
  199. </a>
  200. <h3>Constructor Detail</h3>
  201. <a name="MainActivity()">
  202. <!-- -->
  203. </a>
  204. <ul class="blockListLast">
  205. <li class="blockList">
  206. <h4>MainActivity</h4>
  207. <pre>public&nbsp;MainActivity()</pre>
  208. </li>
  209. </ul>
  210. </li>
  211. </ul>
  212. <!-- ============ METHOD DETAIL ========== -->
  213. <ul class="blockList">
  214. <li class="blockList"><a name="method_detail">
  215. <!-- -->
  216. </a>
  217. <h3>Method Detail</h3>
  218. <a name="onCreate(Bundle)">
  219. <!-- -->
  220. </a>
  221. <ul class="blockList">
  222. <li class="blockList">
  223. <h4>onCreate</h4>
  224. <pre>public&nbsp;void&nbsp;onCreate(Bundle&nbsp;savedInstanceState)</pre>
  225. </li>
  226. </ul>
  227. <a name="init(org.ros.node.NodeMainExecutor)">
  228. <!-- -->
  229. </a>
  230. <ul class="blockListLast">
  231. <li class="blockList">
  232. <h4>init</h4>
  233. <pre>protected&nbsp;void&nbsp;init(org.ros.node.NodeMainExecutor&nbsp;nodeMainExecutor)</pre>
  234. <div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/ros/android/RosActivity.html#init(org.ros.node.NodeMainExecutor)">RosActivity</a></code></strong></div>
  235. <div class="block">This method is called in a background thread once this <code>Activity</code> has
  236. been initialized with a master <code>URI</code> via the <a href="../../../../org/ros/android/MasterChooser.html" title="class in org.ros.android"><code>MasterChooser</code></a>
  237. and a <a href="../../../../org/ros/android/NodeMainExecutorService.html" title="class in org.ros.android"><code>NodeMainExecutorService</code></a> has started. Your <code>NodeMain</code>s
  238. should be started here using the provided <code>NodeMainExecutor</code>.</div>
  239. <dl>
  240. <dt><strong>Specified by:</strong></dt>
  241. <dd><code><a href="../../../../org/ros/android/RosActivity.html#init(org.ros.node.NodeMainExecutor)">init</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/ros/android/RosActivity.html" title="class in org.ros.android">RosActivity</a></code></dd>
  242. <dt><span class="strong">Parameters:</span></dt><dd><code>nodeMainExecutor</code> - the <code>NodeMainExecutor</code> created for this <code>Activity</code></dd></dl>
  243. </li>
  244. </ul>
  245. </li>
  246. </ul>
  247. </li>
  248. </ul>
  249. </div>
  250. </div>
  251. <!-- ========= END OF CLASS DATA ========= -->
  252. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  253. <div class="bottomNav"><a name="navbar_bottom">
  254. <!-- -->
  255. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  256. <!-- -->
  257. </a>
  258. <ul class="navList" title="Navigation">
  259. <li><a href="../../../../overview-summary.html">Overview</a></li>
  260. <li><a href="package-summary.html">Package</a></li>
  261. <li class="navBarCell1Rev">Class</li>
  262. <li><a href="package-tree.html">Tree</a></li>
  263. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  264. <li><a href="../../../../index-all.html">Index</a></li>
  265. <li><a href="../../../../help-doc.html">Help</a></li>
  266. </ul>
  267. </div>
  268. <div class="subNav">
  269. <ul class="navList">
  270. <li>Prev Class</li>
  271. <li>Next Class</li>
  272. </ul>
  273. <ul class="navList">
  274. <li><a href="../../../../index.html?org/ros/android/android_benchmarks/MainActivity.html" target="_top">Frames</a></li>
  275. <li><a href="MainActivity.html" target="_top">No Frames</a></li>
  276. </ul>
  277. <ul class="navList" id="allclasses_navbar_bottom">
  278. <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
  279. </ul>
  280. <div>
  281. <script type="text/javascript"><!--
  282. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  283. if(window==top) {
  284. allClassesLink.style.display = "block";
  285. }
  286. else {
  287. allClassesLink.style.display = "none";
  288. }
  289. //-->
  290. </script>
  291. </div>
  292. <div>
  293. <ul class="subNavList">
  294. <li>Summary:&nbsp;</li>
  295. <li>Nested&nbsp;|&nbsp;</li>
  296. <li><a href="#fields_inherited_from_class_org.ros.android.RosActivity">Field</a>&nbsp;|&nbsp;</li>
  297. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  298. <li><a href="#method_summary">Method</a></li>
  299. </ul>
  300. <ul class="subNavList">
  301. <li>Detail:&nbsp;</li>
  302. <li>Field&nbsp;|&nbsp;</li>
  303. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  304. <li><a href="#method_detail">Method</a></li>
  305. </ul>
  306. </div>
  307. <a name="skip-navbar_bottom">
  308. <!-- -->
  309. </a></div>
  310. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  311. </body>
  312. </html>