2
0

classexperimental_1_1_user_input.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>openPilotLog: experimental::UserInput Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. <link href="custom_dark_theme.css" rel="stylesheet" type="text/css"/>
  21. </head>
  22. <body>
  23. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  24. <div id="titlearea">
  25. <table cellspacing="0" cellpadding="0">
  26. <tbody>
  27. <tr style="height: 56px;">
  28. <td id="projectalign" style="padding-left: 0.5em;">
  29. <div id="projectname">openPilotLog
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('classexperimental_1_1_user_input.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-types">Public Types</a> &#124;
  85. <a href="#pub-methods">Public Member Functions</a> &#124;
  86. <a href="#pub-attribs">Public Attributes</a> &#124;
  87. <a href="classexperimental_1_1_user_input-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">experimental::UserInput Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p>The EntryData struct. Contains ALL possible data. However depending on who is constructing it, different types are initialised. FUTURE: Would it be necessary to able to change data? George: I would say no because we dont want to fuck around with the entry. Collect data from user -&gt; Pack it up in the entry -&gt; Consume it.
  93. <a href="classexperimental_1_1_user_input.html#details">More...</a></p>
  94. <p><code>#include &lt;<a class="el" href="_user_input_8h_source.html">UserInput.h</a>&gt;</code></p>
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  97. Public Types</h2></td></tr>
  98. <tr class="memitem:a29a62aaced9e8c1d8f1fb8f01aeeb309"><td class="memItemLeft" align="right" valign="top"><a id="a29a62aaced9e8c1d8f1fb8f01aeeb309"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>MetaTag</b> { <b>Pilot</b>,
  99. <b>Flight</b>,
  100. <b>Aircraft</b>
  101. }</td></tr>
  102. <tr class="separator:a29a62aaced9e8c1d8f1fb8f01aeeb309"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. </table><table class="memberdecls">
  104. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  105. Public Member Functions</h2></td></tr>
  106. <tr class="memitem:afba316bf4a1ff115550ec6aff13201aa"><td class="memItemLeft" align="right" valign="top"><a id="afba316bf4a1ff115550ec6aff13201aa"></a>
  107. &#160;</td><td class="memItemRight" valign="bottom"><b>UserInput</b> (EntryData new_data, MetaTag tag)</td></tr>
  108. <tr class="separator:afba316bf4a1ff115550ec6aff13201aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a899422387f2b0d228ac40510e1866d16"><td class="memItemLeft" align="right" valign="top"><a id="a899422387f2b0d228ac40510e1866d16"></a>
  110. QString&#160;</td><td class="memItemRight" valign="bottom"><b>only</b> (QString data_type) const</td></tr>
  111. <tr class="separator:a899422387f2b0d228ac40510e1866d16"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a57677325bb893c425a5491ea71e256de"><td class="memItemLeft" align="right" valign="top"><a id="a57677325bb893c425a5491ea71e256de"></a>
  113. const EntryData &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>all</b> () const</td></tr>
  114. <tr class="separator:a57677325bb893c425a5491ea71e256de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. </table><table class="memberdecls">
  116. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  117. Public Attributes</h2></td></tr>
  118. <tr class="memitem:a7c1d203933cbf078d216d9a1a6d38a49"><td class="memItemLeft" align="right" valign="top"><a id="a7c1d203933cbf078d216d9a1a6d38a49"></a>
  119. enum experimental::UserInput::MetaTag&#160;</td><td class="memItemRight" valign="bottom"><b>meta_tag</b></td></tr>
  120. <tr class="separator:a7c1d203933cbf078d216d9a1a6d38a49"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. </table>
  122. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  123. <div class="textblock"><p>The EntryData struct. Contains ALL possible data. However depending on who is constructing it, different types are initialised. FUTURE: Would it be necessary to able to change data? George: I would say no because we dont want to fuck around with the entry. Collect data from user -&gt; Pack it up in the entry -&gt; Consume it. </p>
  124. <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Figure out exactly what the database would prefer as return value George: I would assume key: value pairs where the keys are what you would put in the queries. This will affect data aswell (and propably simplify it) </dd></dl>
  125. </div><hr/>The documentation for this class was generated from the following file:<ul>
  126. <li>src/experimental/<a class="el" href="_user_input_8h_source.html">UserInput.h</a></li>
  127. </ul>
  128. </div><!-- contents -->
  129. </div><!-- doc-content -->
  130. <!-- start footer part -->
  131. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  132. <ul>
  133. <li class="navelem"><a class="el" href="namespaceexperimental.html">experimental</a></li><li class="navelem"><a class="el" href="classexperimental_1_1_user_input.html">UserInput</a></li>
  134. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  135. </ul>
  136. </div>
  137. </body>
  138. </html>