Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

293 lines
18 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: utl::inbuf_dev_details Namespace 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. <script type="text/javascript">
  17. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  18. $(document).ready(initResizable);
  19. /* @license-end */</script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/searchdata.js"></script>
  22. <script type="text/javascript" src="search/search.js"></script>
  23. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  27. <div id="titlearea">
  28. <table cellspacing="0" cellpadding="0">
  29. <tbody>
  30. <tr style="height: 56px;">
  31. <td id="projectalign" style="padding-left: 0.5em;">
  32. <div id="projectname">uTL
  33. </div>
  34. <div id="projectbrief">micro Template library</div>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. <!-- end header part -->
  41. <!-- Generated by Doxygen 1.8.14 -->
  42. <script type="text/javascript">
  43. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  44. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  45. /* @license-end */
  46. </script>
  47. <script type="text/javascript" src="menudata.js"></script>
  48. <script type="text/javascript" src="menu.js"></script>
  49. <script type="text/javascript">
  50. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  51. $(function() {
  52. initMenu('',true,false,'search.php','Search');
  53. $(document).ready(function() { init_search(); });
  54. });
  55. /* @license-end */</script>
  56. <div id="main-nav"></div>
  57. </div><!-- top -->
  58. <div id="side-nav" class="ui-resizable side-nav-resizable">
  59. <div id="nav-tree">
  60. <div id="nav-tree-contents">
  61. <div id="nav-sync" class="sync"></div>
  62. </div>
  63. </div>
  64. <div id="splitbar" style="-moz-user-select:none;"
  65. class="ui-resizable-handle">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  70. $(document).ready(function(){initNavTree('namespaceutl_1_1inbuf__dev__details.html','');});
  71. /* @license-end */
  72. </script>
  73. <div id="doc-content">
  74. <!-- window showing the filter options -->
  75. <div id="MSearchSelectWindow"
  76. onmouseover="return searchBox.OnSearchSelectShow()"
  77. onmouseout="return searchBox.OnSearchSelectHide()"
  78. onkeydown="return searchBox.OnSearchSelectKey(event)">
  79. </div>
  80. <!-- iframe showing the search results (closed by default) -->
  81. <div id="MSearchResultsWindow">
  82. <iframe src="javascript:void(0)" frameborder="0"
  83. name="MSearchResults" id="MSearchResults">
  84. </iframe>
  85. </div>
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#nested-classes">Classes</a> &#124;
  89. <a href="#typedef-members">Typedefs</a> </div>
  90. <div class="headertitle">
  91. <div class="title">utl::inbuf_dev_details Namespace Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  96. Classes</h2></td></tr>
  97. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1inbuf__dev__details_1_1is__inbuf__dev__.html">is_inbuf_dev_</a></td></tr>
  98. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Primary template to catch any non input device types. <a href="structutl_1_1inbuf__dev__details_1_1is__inbuf__dev__.html#details">More...</a><br /></td></tr>
  99. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1inbuf__dev__details_1_1is__inbuf__dev___3_01___tp_00_01void__t_3_01typename_01___tpc269ee3885240cc8c352f3c6b3a67cd7.html">is_inbuf_dev_&lt; _Tp, void_t&lt; typename _Tp::data_type, typename _Tp::pointer_type, typename _Tp::iterator, typename _Tp::const_iterator, use_if_same_t&lt; try_get1_t&lt; _Tp &gt;, size_t &gt;, use_if_same_t&lt; try_get2_t&lt; _Tp &gt;, size_t &gt;, use_if_same_t&lt; try_begin_t&lt; _Tp &gt;, typename _Tp::iterator &gt;, use_if_same_t&lt; tryc_begin_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt;, use_if_same_t&lt; try_cbegin_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt;, use_if_same_t&lt; try_end_t&lt; _Tp &gt;, typename _Tp::iterator &gt;, use_if_same_t&lt; tryc_end_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt;, use_if_same_t&lt; try_cend_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt; &gt; &gt;</a></td></tr>
  101. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">template to catch a proper input device type <a href="structutl_1_1inbuf__dev__details_1_1is__inbuf__dev___3_01___tp_00_01void__t_3_01typename_01___tpc269ee3885240cc8c352f3c6b3a67cd7.html#details">More...</a><br /></td></tr>
  102. <tr class="separator:"><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="typedef-members"></a>
  105. Typedefs</h2></td></tr>
  106. <tr class="memitem:a72a6469ab9ce0cba618dd0b554fc2dd2"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  107. <tr class="memitem:a72a6469ab9ce0cba618dd0b554fc2dd2"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a72a6469ab9ce0cba618dd0b554fc2dd2">try_get1_t</a> = decltype(declval&lt; _Tp &gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a>(declval&lt; typename _Tp::data_type &amp; &gt;()))</td></tr>
  108. <tr class="separator:a72a6469ab9ce0cba618dd0b554fc2dd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:af09ed69d129c33b8a6d3f79c79b8ea35"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  110. <tr class="memitem:af09ed69d129c33b8a6d3f79c79b8ea35"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#af09ed69d129c33b8a6d3f79c79b8ea35">try_get2_t</a> = decltype(declval&lt; _Tp &gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a>(declval&lt; typename _Tp::data_type * &gt;(), declval&lt; <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> &gt;()))</td></tr>
  111. <tr class="separator:af09ed69d129c33b8a6d3f79c79b8ea35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a18d5c5e879b4714f58861ad411537d53"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  113. <tr class="memitem:a18d5c5e879b4714f58861ad411537d53"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a18d5c5e879b4714f58861ad411537d53">try_begin_t</a> = decltype(declval&lt; _Tp &gt;().begin())</td></tr>
  114. <tr class="separator:a18d5c5e879b4714f58861ad411537d53"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:adff91b885ea1831691d4619d360bb72b"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  116. <tr class="memitem:adff91b885ea1831691d4619d360bb72b"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#adff91b885ea1831691d4619d360bb72b">tryc_begin_t</a> = decltype(declval&lt; const _Tp &gt;().begin())</td></tr>
  117. <tr class="separator:adff91b885ea1831691d4619d360bb72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a351202ead58a98a2eaad4f3987b6170c"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  119. <tr class="memitem:a351202ead58a98a2eaad4f3987b6170c"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a351202ead58a98a2eaad4f3987b6170c">try_cbegin_t</a> = decltype(declval&lt; const _Tp &gt;().cbegin())</td></tr>
  120. <tr class="separator:a351202ead58a98a2eaad4f3987b6170c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a5d4aa9d57c443c33cf08375e0c51bdd3"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  122. <tr class="memitem:a5d4aa9d57c443c33cf08375e0c51bdd3"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a5d4aa9d57c443c33cf08375e0c51bdd3">try_end_t</a> = decltype(declval&lt; _Tp &gt;().begin())</td></tr>
  123. <tr class="separator:a5d4aa9d57c443c33cf08375e0c51bdd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a858c7a1a0b1d8d0bdc91ce681aa1b996"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  125. <tr class="memitem:a858c7a1a0b1d8d0bdc91ce681aa1b996"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a858c7a1a0b1d8d0bdc91ce681aa1b996">tryc_end_t</a> = decltype(declval&lt; const _Tp &gt;().begin())</td></tr>
  126. <tr class="separator:a858c7a1a0b1d8d0bdc91ce681aa1b996"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a24eae32ecbea1291607f16d92c2b029a"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  128. <tr class="memitem:a24eae32ecbea1291607f16d92c2b029a"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a24eae32ecbea1291607f16d92c2b029a">try_cend_t</a> = decltype(declval&lt; const _Tp &gt;().cend())</td></tr>
  129. <tr class="separator:a24eae32ecbea1291607f16d92c2b029a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. </table>
  131. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  132. <div class="textblock"><p>Input buffer device concept </p>
  133. </div><h2 class="groupheader">Typedef Documentation</h2>
  134. <a id="a18d5c5e879b4714f58861ad411537d53"></a>
  135. <h2 class="memtitle"><span class="permalink"><a href="#a18d5c5e879b4714f58861ad411537d53">&#9670;&nbsp;</a></span>try_begin_t</h2>
  136. <div class="memitem">
  137. <div class="memproto">
  138. <div class="memtemplate">
  139. template&lt;class _Tp &gt; </div>
  140. <table class="memname">
  141. <tr>
  142. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a18d5c5e879b4714f58861ad411537d53">utl::inbuf_dev_details::try_begin_t</a> = typedef decltype (declval&lt;_Tp&gt;().begin())</td>
  143. </tr>
  144. </table>
  145. </div><div class="memdoc">
  146. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00343">343</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  147. </div>
  148. </div>
  149. <a id="a351202ead58a98a2eaad4f3987b6170c"></a>
  150. <h2 class="memtitle"><span class="permalink"><a href="#a351202ead58a98a2eaad4f3987b6170c">&#9670;&nbsp;</a></span>try_cbegin_t</h2>
  151. <div class="memitem">
  152. <div class="memproto">
  153. <div class="memtemplate">
  154. template&lt;class _Tp &gt; </div>
  155. <table class="memname">
  156. <tr>
  157. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a351202ead58a98a2eaad4f3987b6170c">utl::inbuf_dev_details::try_cbegin_t</a> = typedef decltype (declval&lt;const _Tp&gt;().cbegin())</td>
  158. </tr>
  159. </table>
  160. </div><div class="memdoc">
  161. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00345">345</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  162. </div>
  163. </div>
  164. <a id="a24eae32ecbea1291607f16d92c2b029a"></a>
  165. <h2 class="memtitle"><span class="permalink"><a href="#a24eae32ecbea1291607f16d92c2b029a">&#9670;&nbsp;</a></span>try_cend_t</h2>
  166. <div class="memitem">
  167. <div class="memproto">
  168. <div class="memtemplate">
  169. template&lt;class _Tp &gt; </div>
  170. <table class="memname">
  171. <tr>
  172. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a24eae32ecbea1291607f16d92c2b029a">utl::inbuf_dev_details::try_cend_t</a> = typedef decltype (declval&lt;const _Tp&gt;().cend())</td>
  173. </tr>
  174. </table>
  175. </div><div class="memdoc">
  176. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00348">348</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  177. </div>
  178. </div>
  179. <a id="a5d4aa9d57c443c33cf08375e0c51bdd3"></a>
  180. <h2 class="memtitle"><span class="permalink"><a href="#a5d4aa9d57c443c33cf08375e0c51bdd3">&#9670;&nbsp;</a></span>try_end_t</h2>
  181. <div class="memitem">
  182. <div class="memproto">
  183. <div class="memtemplate">
  184. template&lt;class _Tp &gt; </div>
  185. <table class="memname">
  186. <tr>
  187. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a5d4aa9d57c443c33cf08375e0c51bdd3">utl::inbuf_dev_details::try_end_t</a> = typedef decltype (declval&lt;_Tp&gt;().begin())</td>
  188. </tr>
  189. </table>
  190. </div><div class="memdoc">
  191. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00346">346</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  192. </div>
  193. </div>
  194. <a id="a72a6469ab9ce0cba618dd0b554fc2dd2"></a>
  195. <h2 class="memtitle"><span class="permalink"><a href="#a72a6469ab9ce0cba618dd0b554fc2dd2">&#9670;&nbsp;</a></span>try_get1_t</h2>
  196. <div class="memitem">
  197. <div class="memproto">
  198. <div class="memtemplate">
  199. template&lt;class _Tp &gt; </div>
  200. <table class="memname">
  201. <tr>
  202. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a72a6469ab9ce0cba618dd0b554fc2dd2">utl::inbuf_dev_details::try_get1_t</a> = typedef decltype (declval&lt;_Tp&gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a> (declval&lt;typename _Tp::data_type&amp;&gt;()))</td>
  203. </tr>
  204. </table>
  205. </div><div class="memdoc">
  206. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00338">338</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  207. </div>
  208. </div>
  209. <a id="af09ed69d129c33b8a6d3f79c79b8ea35"></a>
  210. <h2 class="memtitle"><span class="permalink"><a href="#af09ed69d129c33b8a6d3f79c79b8ea35">&#9670;&nbsp;</a></span>try_get2_t</h2>
  211. <div class="memitem">
  212. <div class="memproto">
  213. <div class="memtemplate">
  214. template&lt;class _Tp &gt; </div>
  215. <table class="memname">
  216. <tr>
  217. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#af09ed69d129c33b8a6d3f79c79b8ea35">utl::inbuf_dev_details::try_get2_t</a> = typedef decltype (declval&lt;_Tp&gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a> (declval&lt;typename _Tp::data_type*&gt;(), declval&lt;<a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&gt;()))</td>
  218. </tr>
  219. </table>
  220. </div><div class="memdoc">
  221. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00339">339</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  222. </div>
  223. </div>
  224. <a id="adff91b885ea1831691d4619d360bb72b"></a>
  225. <h2 class="memtitle"><span class="permalink"><a href="#adff91b885ea1831691d4619d360bb72b">&#9670;&nbsp;</a></span>tryc_begin_t</h2>
  226. <div class="memitem">
  227. <div class="memproto">
  228. <div class="memtemplate">
  229. template&lt;class _Tp &gt; </div>
  230. <table class="memname">
  231. <tr>
  232. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#adff91b885ea1831691d4619d360bb72b">utl::inbuf_dev_details::tryc_begin_t</a> = typedef decltype (declval&lt;const _Tp&gt;().begin())</td>
  233. </tr>
  234. </table>
  235. </div><div class="memdoc">
  236. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00344">344</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  237. </div>
  238. </div>
  239. <a id="a858c7a1a0b1d8d0bdc91ce681aa1b996"></a>
  240. <h2 class="memtitle"><span class="permalink"><a href="#a858c7a1a0b1d8d0bdc91ce681aa1b996">&#9670;&nbsp;</a></span>tryc_end_t</h2>
  241. <div class="memitem">
  242. <div class="memproto">
  243. <div class="memtemplate">
  244. template&lt;class _Tp &gt; </div>
  245. <table class="memname">
  246. <tr>
  247. <td class="memname">using <a class="el" href="namespaceutl_1_1inbuf__dev__details.html#a858c7a1a0b1d8d0bdc91ce681aa1b996">utl::inbuf_dev_details::tryc_end_t</a> = typedef decltype (declval&lt;const _Tp&gt;().begin())</td>
  248. </tr>
  249. </table>
  250. </div><div class="memdoc">
  251. <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00347">347</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
  252. </div>
  253. </div>
  254. </div><!-- contents -->
  255. </div><!-- doc-content -->
  256. <!-- start footer part -->
  257. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  258. <ul>
  259. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1inbuf__dev__details.html">inbuf_dev_details</a></li>
  260. <li class="footer">Generated by
  261. <a href="http://www.doxygen.org/index.html">
  262. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  263. </ul>
  264. </div>
  265. </body>
  266. </html>