Micro template library A library for building device drivers
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

947 行
51 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::in_dev&lt; impl_t, data_t, streamsize &gt; Class Template 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('classutl_1_1in__dev.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="#pub-types">Public Types</a> &#124;
  89. <a href="#pri-types">Private Types</a> &#124;
  90. <a href="#pri-methods">Private Member Functions</a> &#124;
  91. <a href="classutl_1_1in__dev-members.html">List of all members</a> </div>
  92. <div class="headertitle">
  93. <div class="title">utl::in_dev&lt; impl_t, data_t, streamsize &gt; Class Template Reference</div> </div>
  94. </div><!--header-->
  95. <div class="contents">
  96. <p>Abstract base class for input devices.
  97. <a href="classutl_1_1in__dev.html#details">More...</a></p>
  98. <p><code>#include &lt;<a class="el" href="in__dev_8h_source.html">in_dev.h</a>&gt;</code></p>
  99. <table class="memberdecls">
  100. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  101. Public Types</h2></td></tr>
  102. <tr class="memitem:adef54df1c3d4ae20629ecfdb7826384c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#adef54df1c3d4ae20629ecfdb7826384c">type</a> = <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a></td></tr>
  103. <tr class="memdesc:adef54df1c3d4ae20629ecfdb7826384c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Export type as identity meta-function. <a href="#adef54df1c3d4ae20629ecfdb7826384c">More...</a><br /></td></tr>
  104. <tr class="separator:adef54df1c3d4ae20629ecfdb7826384c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  106. <tr class="memitem:acb38742b242e8cf90323d46a9907863d"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#acb38742b242e8cf90323d46a9907863d">data_type</a> = data_t</td></tr>
  107. <tr class="separator:acb38742b242e8cf90323d46a9907863d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:aef4b5c41ab91ef284cfc0cf6100c0828"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aef4b5c41ab91ef284cfc0cf6100c0828">pointer_type</a> = data_t *</td></tr>
  109. <tr class="separator:aef4b5c41ab91ef284cfc0cf6100c0828"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table><table class="memberdecls">
  111. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  112. Public Member Functions</h2></td></tr>
  113. <tr><td colspan="2"><div class="groupHeader">Public Get interface</div></td></tr>
  114. <tr class="memitem:aa13a075d41f3e020f4f67c2a59d580a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aa13a075d41f3e020f4f67c2a59d580a5">get</a> (data_t &amp;data)</td></tr>
  115. <tr class="memdesc:aa13a075d41f3e020f4f67c2a59d580a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get interface. This function should read a single data_t object from device in blocking mode. <a href="#aa13a075d41f3e020f4f67c2a59d580a5">More...</a><br /></td></tr>
  116. <tr class="separator:aa13a075d41f3e020f4f67c2a59d580a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a5536fdd877bc9f078a9ede43ccc283e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a5536fdd877bc9f078a9ede43ccc283e7">get</a> (data_t *data, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n)</td></tr>
  118. <tr class="memdesc:a5536fdd877bc9f078a9ede43ccc283e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Old stile get functionality using free standing data_t*. This function should return a stream of data from device. <a href="#a5536fdd877bc9f078a9ede43ccc283e7">More...</a><br /></td></tr>
  119. <tr class="separator:a5536fdd877bc9f078a9ede43ccc283e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr><td colspan="2"><div class="groupHeader">Stream operator &gt;&gt; interface</div></td></tr>
  121. <tr class="memitem:abe8aa85c0dbe0ddb3745ded02b4e68fe"><td class="memTemplParams" colspan="2">template&lt;typename _Dst_t &gt; </td></tr>
  122. <tr class="memitem:abe8aa85c0dbe0ddb3745ded02b4e68fe"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#abe8aa85c0dbe0ddb3745ded02b4e68fe">operator&gt;&gt;</a> (_Dst_t &amp;dst)</td></tr>
  123. <tr class="memdesc:abe8aa85c0dbe0ddb3745ded02b4e68fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Template operator &gt;&gt; implementation for for all by value/ref parameters. <a href="#abe8aa85c0dbe0ddb3745ded02b4e68fe">More...</a><br /></td></tr>
  124. <tr class="separator:abe8aa85c0dbe0ddb3745ded02b4e68fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a60b3bba96e6bfd2091e594fdbc93fd6f"><td class="memTemplParams" colspan="2">template&lt;typename _Dst_t &gt; </td></tr>
  126. <tr class="memitem:a60b3bba96e6bfd2091e594fdbc93fd6f"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a60b3bba96e6bfd2091e594fdbc93fd6f">operator&gt;&gt;</a> (_Dst_t *dst)=delete</td></tr>
  127. <tr class="memdesc:a60b3bba96e6bfd2091e594fdbc93fd6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specialization to disallow pointer types as destination. <a href="#a60b3bba96e6bfd2091e594fdbc93fd6f">More...</a><br /></td></tr>
  128. <tr class="separator:a60b3bba96e6bfd2091e594fdbc93fd6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a98774619e8575162a8be271833282690"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a98774619e8575162a8be271833282690">operator&gt;&gt;</a> (data_t &amp;dst)</td></tr>
  130. <tr class="memdesc:a98774619e8575162a8be271833282690"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for single data_t object. <a href="#a98774619e8575162a8be271833282690">More...</a><br /></td></tr>
  131. <tr class="separator:a98774619e8575162a8be271833282690"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  133. <tr class="memitem:aae7797f366d25091b63ad87b34ed4b48"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aae7797f366d25091b63ad87b34ed4b48">end</a> () noexcept</td></tr>
  134. <tr class="separator:aae7797f366d25091b63ad87b34ed4b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:aecb438cbb0e2a6c3a926aad81e8c29c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aecb438cbb0e2a6c3a926aad81e8c29c7">end</a> () const noexcept</td></tr>
  136. <tr class="separator:aecb438cbb0e2a6c3a926aad81e8c29c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:ac54d9a1fb6241be460ffc792aac18b24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#ac54d9a1fb6241be460ffc792aac18b24">cend</a> () const noexcept</td></tr>
  138. <tr class="separator:ac54d9a1fb6241be460ffc792aac18b24"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. </table><table class="memberdecls">
  140. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  141. Protected Member Functions</h2></td></tr>
  142. <tr><td colspan="2"><div class="groupHeader">Constructor / Destructor</div></td></tr>
  143. <tr class="memitem:a2caa0f47e6132f051bb54b1acea37fc6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a2caa0f47e6132f051bb54b1acea37fc6">~in_dev</a> ()=default</td></tr>
  144. <tr class="memdesc:a2caa0f47e6132f051bb54b1acea37fc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow destructor from derived only. <a href="#a2caa0f47e6132f051bb54b1acea37fc6">More...</a><br /></td></tr>
  145. <tr class="separator:a2caa0f47e6132f051bb54b1acea37fc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a1ca16c382f5e0dd25089a4e06a40f2f2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a1ca16c382f5e0dd25089a4e06a40f2f2">in_dev</a> ()=default</td></tr>
  147. <tr class="memdesc:a1ca16c382f5e0dd25089a4e06a40f2f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">A default constructor from derived only. <a href="#a1ca16c382f5e0dd25089a4e06a40f2f2">More...</a><br /></td></tr>
  148. <tr class="separator:a1ca16c382f5e0dd25089a4e06a40f2f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a570c94b183eff6f8ca2d7d9ab5d9a7ea"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a570c94b183eff6f8ca2d7d9ab5d9a7ea">in_dev</a> (const <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;)=delete</td></tr>
  150. <tr class="memdesc:a570c94b183eff6f8ca2d7d9ab5d9a7ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">No copies. <a href="#a570c94b183eff6f8ca2d7d9ab5d9a7ea">More...</a><br /></td></tr>
  151. <tr class="separator:a570c94b183eff6f8ca2d7d9ab5d9a7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a55dc56f1277b2bd04b154fbf19d8853f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a55dc56f1277b2bd04b154fbf19d8853f">operator=</a> (const <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;)=delete</td></tr>
  153. <tr class="separator:a55dc56f1277b2bd04b154fbf19d8853f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. </table><table class="memberdecls">
  155. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
  156. Private Types</h2></td></tr>
  157. <tr class="memitem:a1bcb5426bf837e27c9fa6128f25d2857"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> = <a class="el" href="classutl_1_1in__dev.html">in_dev</a>&lt; impl_t, data_t, streamsize &gt;</td></tr>
  158. <tr class="memdesc:a1bcb5426bf837e27c9fa6128f25d2857"><td class="mdescLeft">&#160;</td><td class="mdescRight">class type syntactic sugar <a href="#a1bcb5426bf837e27c9fa6128f25d2857">More...</a><br /></td></tr>
  159. <tr class="separator:a1bcb5426bf837e27c9fa6128f25d2857"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. </table><table class="memberdecls">
  161. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
  162. Private Member Functions</h2></td></tr>
  163. <tr class="memitem:a370913d250e982328560b034adf227c0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a370913d250e982328560b034adf227c0">_CRTP_IMPL</a> (impl_t)</td></tr>
  164. <tr class="separator:a370913d250e982328560b034adf227c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr><td colspan="2"><div class="groupHeader">Common input device interface requirements</div></td></tr>
  166. <tr class="memitem:a243dbc2e6acd2c2baf56c3c9861a0abf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a243dbc2e6acd2c2baf56c3c9861a0abf">get_</a> (data_t &amp;data)</td></tr>
  167. <tr class="separator:a243dbc2e6acd2c2baf56c3c9861a0abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a374e6cc495d5885ee6be8973c5f4eb8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a374e6cc495d5885ee6be8973c5f4eb8e">get_</a> (data_t *data, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n)</td></tr>
  169. <tr class="separator:a374e6cc495d5885ee6be8973c5f4eb8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. </table><table class="memberdecls">
  171. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
  172. STL-like Input iterator interface</h2></td></tr>
  173. <tr class="memitem:a629f2364e2ab427cbdc0c7f1cb8e8a66"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a>&lt; <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, data_t *, streamsize &gt;</td></tr>
  174. <tr class="memdesc:a629f2364e2ab427cbdc0c7f1cb8e8a66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterator. <a href="#a629f2364e2ab427cbdc0c7f1cb8e8a66">More...</a><br /></td></tr>
  175. <tr class="separator:a629f2364e2ab427cbdc0c7f1cb8e8a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a686e6cda465a7e08b29465a75740e043"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a>&lt; <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, const data_t *, streamsize &gt;</td></tr>
  177. <tr class="memdesc:a686e6cda465a7e08b29465a75740e043"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const iterator. <a href="#a686e6cda465a7e08b29465a75740e043">More...</a><br /></td></tr>
  178. <tr class="separator:a686e6cda465a7e08b29465a75740e043"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:ab2158d8a134dff882a3eac2960da04c0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#ab2158d8a134dff882a3eac2960da04c0">begin</a> () noexcept</td></tr>
  180. <tr class="memdesc:ab2158d8a134dff882a3eac2960da04c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">.begin implementation <a href="#ab2158d8a134dff882a3eac2960da04c0">More...</a><br /></td></tr>
  181. <tr class="separator:ab2158d8a134dff882a3eac2960da04c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:af81ff90ccb0070ad9388bc032d6d3279"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#af81ff90ccb0070ad9388bc032d6d3279">begin</a> () const noexcept</td></tr>
  183. <tr class="separator:af81ff90ccb0070ad9388bc032d6d3279"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a1120a80c871e1ea8165b4943c767893d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a1120a80c871e1ea8165b4943c767893d">cbegin</a> () const noexcept</td></tr>
  185. <tr class="separator:a1120a80c871e1ea8165b4943c767893d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. </table>
  187. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  188. <div class="textblock"><h3>template&lt;typename impl_t, typename data_t, size_t streamsize = 0&gt;<br />
  189. class utl::in_dev&lt; impl_t, data_t, streamsize &gt;</h3>
  190. <p>Abstract base class for input devices. </p>
  191. <p>Template base class for un-buffered input devices. using CRTP</p>
  192. <p>This class force a common interface for input, non-buffered devices. By using this common interface the class implements</p><ul>
  193. <li>Stream-like extracting operator</li>
  194. <li>Input iterator</li>
  195. <li>Const input iterator to inherit to implementation.</li>
  196. </ul>
  197. <dl class="params"><dt>Parameters</dt><dd>
  198. <table class="params">
  199. <tr><td class="paramname">impl_t</td><td>The CRTP type (the derived/implementation class typename). </td></tr>
  200. <tr><td class="paramname">data_t</td><td>The devices base type of data </td></tr>
  201. <tr><td class="paramname">streamsize</td><td>The number of elements to indicate eos. <ul>
  202. <li>None or 0 Stream only. No iterator as <a class="el" href="classutl_1_1in__dev.html#ab2158d8a134dff882a3eac2960da04c0" title=".begin implementation ">begin()</a> now equals <a class="el" href="classutl_1_1in__dev.html#aae7797f366d25091b63ad87b34ed4b48">end()</a>. </li>
  203. </ul>
  204. </td></tr>
  205. </table>
  206. </dd>
  207. </dl>
  208. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00054">54</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  209. </div><h2 class="groupheader">Member Typedef Documentation</h2>
  210. <a id="a686e6cda465a7e08b29465a75740e043"></a>
  211. <h2 class="memtitle"><span class="permalink"><a href="#a686e6cda465a7e08b29465a75740e043">&#9670;&nbsp;</a></span>const_iterator</h2>
  212. <div class="memitem">
  213. <div class="memproto">
  214. <div class="memtemplate">
  215. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  216. <table class="memname">
  217. <tr>
  218. <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a> &lt;<a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, const data_t*, streamsize&gt;</td>
  219. </tr>
  220. </table>
  221. </div><div class="memdoc">
  222. <p>Const iterator. </p>
  223. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00151">151</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  224. </div>
  225. </div>
  226. <a id="acb38742b242e8cf90323d46a9907863d"></a>
  227. <h2 class="memtitle"><span class="permalink"><a href="#acb38742b242e8cf90323d46a9907863d">&#9670;&nbsp;</a></span>data_type</h2>
  228. <div class="memitem">
  229. <div class="memproto">
  230. <div class="memtemplate">
  231. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  232. <table class="memname">
  233. <tr>
  234. <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html#acb38742b242e8cf90323d46a9907863d">data_type</a> = data_t</td>
  235. </tr>
  236. </table>
  237. </div><div class="memdoc">
  238. <p>Export types as input device concept demands </p>
  239. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00061">61</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  240. </div>
  241. </div>
  242. <a id="a1bcb5426bf837e27c9fa6128f25d2857"></a>
  243. <h2 class="memtitle"><span class="permalink"><a href="#a1bcb5426bf837e27c9fa6128f25d2857">&#9670;&nbsp;</a></span>in_dev_t</h2>
  244. <div class="memitem">
  245. <div class="memproto">
  246. <div class="memtemplate">
  247. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  248. <table class="mlabels">
  249. <tr>
  250. <td class="mlabels-left">
  251. <table class="memname">
  252. <tr>
  253. <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> = <a class="el" href="classutl_1_1in__dev.html">in_dev</a> &lt;impl_t, data_t, streamsize&gt;</td>
  254. </tr>
  255. </table>
  256. </td>
  257. <td class="mlabels-right">
  258. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  259. </tr>
  260. </table>
  261. </div><div class="memdoc">
  262. <p>class type syntactic sugar </p>
  263. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00056">56</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  264. </div>
  265. </div>
  266. <a id="a629f2364e2ab427cbdc0c7f1cb8e8a66"></a>
  267. <h2 class="memtitle"><span class="permalink"><a href="#a629f2364e2ab427cbdc0c7f1cb8e8a66">&#9670;&nbsp;</a></span>iterator</h2>
  268. <div class="memitem">
  269. <div class="memproto">
  270. <div class="memtemplate">
  271. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  272. <table class="memname">
  273. <tr>
  274. <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a> &lt;<a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, data_t*, streamsize&gt;</td>
  275. </tr>
  276. </table>
  277. </div><div class="memdoc">
  278. <p>Iterator. </p>
  279. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00150">150</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  280. </div>
  281. </div>
  282. <a id="aef4b5c41ab91ef284cfc0cf6100c0828"></a>
  283. <h2 class="memtitle"><span class="permalink"><a href="#aef4b5c41ab91ef284cfc0cf6100c0828">&#9670;&nbsp;</a></span>pointer_type</h2>
  284. <div class="memitem">
  285. <div class="memproto">
  286. <div class="memtemplate">
  287. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  288. <table class="memname">
  289. <tr>
  290. <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html#aef4b5c41ab91ef284cfc0cf6100c0828">pointer_type</a> = data_t*</td>
  291. </tr>
  292. </table>
  293. </div><div class="memdoc">
  294. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00062">62</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  295. </div>
  296. </div>
  297. <a id="adef54df1c3d4ae20629ecfdb7826384c"></a>
  298. <h2 class="memtitle"><span class="permalink"><a href="#adef54df1c3d4ae20629ecfdb7826384c">&#9670;&nbsp;</a></span>type</h2>
  299. <div class="memitem">
  300. <div class="memproto">
  301. <div class="memtemplate">
  302. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  303. <table class="memname">
  304. <tr>
  305. <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html#adef54df1c3d4ae20629ecfdb7826384c">type</a> = <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a></td>
  306. </tr>
  307. </table>
  308. </div><div class="memdoc">
  309. <p>Export type as identity meta-function. </p>
  310. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00064">64</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  311. </div>
  312. </div>
  313. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  314. <a id="a2caa0f47e6132f051bb54b1acea37fc6"></a>
  315. <h2 class="memtitle"><span class="permalink"><a href="#a2caa0f47e6132f051bb54b1acea37fc6">&#9670;&nbsp;</a></span>~in_dev()</h2>
  316. <div class="memitem">
  317. <div class="memproto">
  318. <div class="memtemplate">
  319. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  320. <table class="mlabels">
  321. <tr>
  322. <td class="mlabels-left">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::~<a class="el" href="classutl_1_1in__dev.html">in_dev</a> </td>
  326. <td>(</td>
  327. <td class="paramname"></td><td>)</td>
  328. <td></td>
  329. </tr>
  330. </table>
  331. </td>
  332. <td class="mlabels-right">
  333. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
  334. </tr>
  335. </table>
  336. </div><div class="memdoc">
  337. <p>Allow destructor from derived only. </p>
  338. </div>
  339. </div>
  340. <a id="a1ca16c382f5e0dd25089a4e06a40f2f2"></a>
  341. <h2 class="memtitle"><span class="permalink"><a href="#a1ca16c382f5e0dd25089a4e06a40f2f2">&#9670;&nbsp;</a></span>in_dev() <span class="overload">[1/2]</span></h2>
  342. <div class="memitem">
  343. <div class="memproto">
  344. <div class="memtemplate">
  345. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  346. <table class="mlabels">
  347. <tr>
  348. <td class="mlabels-left">
  349. <table class="memname">
  350. <tr>
  351. <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html">in_dev</a> </td>
  352. <td>(</td>
  353. <td class="paramname"></td><td>)</td>
  354. <td></td>
  355. </tr>
  356. </table>
  357. </td>
  358. <td class="mlabels-right">
  359. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
  360. </tr>
  361. </table>
  362. </div><div class="memdoc">
  363. <p>A default constructor from derived only. </p>
  364. </div>
  365. </div>
  366. <a id="a570c94b183eff6f8ca2d7d9ab5d9a7ea"></a>
  367. <h2 class="memtitle"><span class="permalink"><a href="#a570c94b183eff6f8ca2d7d9ab5d9a7ea">&#9670;&nbsp;</a></span>in_dev() <span class="overload">[2/2]</span></h2>
  368. <div class="memitem">
  369. <div class="memproto">
  370. <div class="memtemplate">
  371. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  372. <table class="mlabels">
  373. <tr>
  374. <td class="mlabels-left">
  375. <table class="memname">
  376. <tr>
  377. <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1in__dev.html">in_dev</a> </td>
  378. <td>(</td>
  379. <td class="paramtype">const <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;&#160;</td>
  380. <td class="paramname"></td><td>)</td>
  381. <td></td>
  382. </tr>
  383. </table>
  384. </td>
  385. <td class="mlabels-right">
  386. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
  387. </tr>
  388. </table>
  389. </div><div class="memdoc">
  390. <p>No copies. </p>
  391. </div>
  392. </div>
  393. <h2 class="groupheader">Member Function Documentation</h2>
  394. <a id="a370913d250e982328560b034adf227c0"></a>
  395. <h2 class="memtitle"><span class="permalink"><a href="#a370913d250e982328560b034adf227c0">&#9670;&nbsp;</a></span>_CRTP_IMPL()</h2>
  396. <div class="memitem">
  397. <div class="memproto">
  398. <div class="memtemplate">
  399. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  400. <table class="mlabels">
  401. <tr>
  402. <td class="mlabels-left">
  403. <table class="memname">
  404. <tr>
  405. <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::_CRTP_IMPL </td>
  406. <td>(</td>
  407. <td class="paramtype">impl_t&#160;</td>
  408. <td class="paramname"></td><td>)</td>
  409. <td></td>
  410. </tr>
  411. </table>
  412. </td>
  413. <td class="mlabels-right">
  414. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  415. </tr>
  416. </table>
  417. </div><div class="memdoc">
  418. </div>
  419. </div>
  420. <a id="ab2158d8a134dff882a3eac2960da04c0"></a>
  421. <h2 class="memtitle"><span class="permalink"><a href="#ab2158d8a134dff882a3eac2960da04c0">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
  422. <div class="memitem">
  423. <div class="memproto">
  424. <div class="memtemplate">
  425. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  426. <table class="mlabels">
  427. <tr>
  428. <td class="mlabels-left">
  429. <table class="memname">
  430. <tr>
  431. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::begin </td>
  432. <td>(</td>
  433. <td class="paramname"></td><td>)</td>
  434. <td></td>
  435. </tr>
  436. </table>
  437. </td>
  438. <td class="mlabels-right">
  439. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  440. </tr>
  441. </table>
  442. </div><div class="memdoc">
  443. <p>.begin implementation </p>
  444. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00154">154</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  445. </div>
  446. </div>
  447. <a id="af81ff90ccb0070ad9388bc032d6d3279"></a>
  448. <h2 class="memtitle"><span class="permalink"><a href="#af81ff90ccb0070ad9388bc032d6d3279">&#9670;&nbsp;</a></span>begin() <span class="overload">[2/2]</span></h2>
  449. <div class="memitem">
  450. <div class="memproto">
  451. <div class="memtemplate">
  452. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  453. <table class="mlabels">
  454. <tr>
  455. <td class="mlabels-left">
  456. <table class="memname">
  457. <tr>
  458. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::begin </td>
  459. <td>(</td>
  460. <td class="paramname"></td><td>)</td>
  461. <td> const</td>
  462. </tr>
  463. </table>
  464. </td>
  465. <td class="mlabels-right">
  466. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  467. </tr>
  468. </table>
  469. </div><div class="memdoc">
  470. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00155">155</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  471. </div>
  472. </div>
  473. <a id="a1120a80c871e1ea8165b4943c767893d"></a>
  474. <h2 class="memtitle"><span class="permalink"><a href="#a1120a80c871e1ea8165b4943c767893d">&#9670;&nbsp;</a></span>cbegin()</h2>
  475. <div class="memitem">
  476. <div class="memproto">
  477. <div class="memtemplate">
  478. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  479. <table class="mlabels">
  480. <tr>
  481. <td class="mlabels-left">
  482. <table class="memname">
  483. <tr>
  484. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::cbegin </td>
  485. <td>(</td>
  486. <td class="paramname"></td><td>)</td>
  487. <td> const</td>
  488. </tr>
  489. </table>
  490. </td>
  491. <td class="mlabels-right">
  492. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  493. </tr>
  494. </table>
  495. </div><div class="memdoc">
  496. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00156">156</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  497. </div>
  498. </div>
  499. <a id="ac54d9a1fb6241be460ffc792aac18b24"></a>
  500. <h2 class="memtitle"><span class="permalink"><a href="#ac54d9a1fb6241be460ffc792aac18b24">&#9670;&nbsp;</a></span>cend()</h2>
  501. <div class="memitem">
  502. <div class="memproto">
  503. <div class="memtemplate">
  504. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  505. <table class="mlabels">
  506. <tr>
  507. <td class="mlabels-left">
  508. <table class="memname">
  509. <tr>
  510. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::cend </td>
  511. <td>(</td>
  512. <td class="paramname"></td><td>)</td>
  513. <td> const</td>
  514. </tr>
  515. </table>
  516. </td>
  517. <td class="mlabels-right">
  518. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  519. </tr>
  520. </table>
  521. </div><div class="memdoc">
  522. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00161">161</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  523. </div>
  524. </div>
  525. <a id="aae7797f366d25091b63ad87b34ed4b48"></a>
  526. <h2 class="memtitle"><span class="permalink"><a href="#aae7797f366d25091b63ad87b34ed4b48">&#9670;&nbsp;</a></span>end() <span class="overload">[1/2]</span></h2>
  527. <div class="memitem">
  528. <div class="memproto">
  529. <div class="memtemplate">
  530. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  531. <table class="mlabels">
  532. <tr>
  533. <td class="mlabels-left">
  534. <table class="memname">
  535. <tr>
  536. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::end </td>
  537. <td>(</td>
  538. <td class="paramname"></td><td>)</td>
  539. <td></td>
  540. </tr>
  541. </table>
  542. </td>
  543. <td class="mlabels-right">
  544. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  545. </tr>
  546. </table>
  547. </div><div class="memdoc">
  548. <p>.end implementation </p>
  549. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00159">159</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  550. </div>
  551. </div>
  552. <a id="aecb438cbb0e2a6c3a926aad81e8c29c7"></a>
  553. <h2 class="memtitle"><span class="permalink"><a href="#aecb438cbb0e2a6c3a926aad81e8c29c7">&#9670;&nbsp;</a></span>end() <span class="overload">[2/2]</span></h2>
  554. <div class="memitem">
  555. <div class="memproto">
  556. <div class="memtemplate">
  557. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  558. <table class="mlabels">
  559. <tr>
  560. <td class="mlabels-left">
  561. <table class="memname">
  562. <tr>
  563. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::end </td>
  564. <td>(</td>
  565. <td class="paramname"></td><td>)</td>
  566. <td> const</td>
  567. </tr>
  568. </table>
  569. </td>
  570. <td class="mlabels-right">
  571. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  572. </tr>
  573. </table>
  574. </div><div class="memdoc">
  575. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00160">160</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  576. </div>
  577. </div>
  578. <a id="aa13a075d41f3e020f4f67c2a59d580a5"></a>
  579. <h2 class="memtitle"><span class="permalink"><a href="#aa13a075d41f3e020f4f67c2a59d580a5">&#9670;&nbsp;</a></span>get() <span class="overload">[1/2]</span></h2>
  580. <div class="memitem">
  581. <div class="memproto">
  582. <div class="memtemplate">
  583. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  584. <table class="mlabels">
  585. <tr>
  586. <td class="mlabels-left">
  587. <table class="memname">
  588. <tr>
  589. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::get </td>
  590. <td>(</td>
  591. <td class="paramtype">data_t &amp;&#160;</td>
  592. <td class="paramname"><em>data</em></td><td>)</td>
  593. <td></td>
  594. </tr>
  595. </table>
  596. </td>
  597. <td class="mlabels-right">
  598. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  599. </tr>
  600. </table>
  601. </div><div class="memdoc">
  602. <p>Get interface. This function should read a single data_t object from device in blocking mode. </p>
  603. <dl class="params"><dt>Parameters</dt><dd>
  604. <table class="params">
  605. <tr><td class="paramname">data</td><td>Reference to data output from device. </td></tr>
  606. </table>
  607. </dd>
  608. </dl>
  609. <dl class="section return"><dt>Returns</dt><dd>Number of data read from device </dd></dl>
  610. <dl class="section note"><dt>Note</dt><dd>A successful call should return 1 </dd></dl>
  611. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00097">97</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  612. </div>
  613. </div>
  614. <a id="a5536fdd877bc9f078a9ede43ccc283e7"></a>
  615. <h2 class="memtitle"><span class="permalink"><a href="#a5536fdd877bc9f078a9ede43ccc283e7">&#9670;&nbsp;</a></span>get() <span class="overload">[2/2]</span></h2>
  616. <div class="memitem">
  617. <div class="memproto">
  618. <div class="memtemplate">
  619. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  620. <table class="mlabels">
  621. <tr>
  622. <td class="mlabels-left">
  623. <table class="memname">
  624. <tr>
  625. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::get </td>
  626. <td>(</td>
  627. <td class="paramtype">data_t *&#160;</td>
  628. <td class="paramname"><em>data</em>, </td>
  629. </tr>
  630. <tr>
  631. <td class="paramkey"></td>
  632. <td></td>
  633. <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td>
  634. <td class="paramname"><em>n</em>&#160;</td>
  635. </tr>
  636. <tr>
  637. <td></td>
  638. <td>)</td>
  639. <td></td><td></td>
  640. </tr>
  641. </table>
  642. </td>
  643. <td class="mlabels-right">
  644. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  645. </tr>
  646. </table>
  647. </div><div class="memdoc">
  648. <p>Old stile get functionality using free standing data_t*. This function should return a stream of data from device. </p>
  649. <dl class="params"><dt>Parameters</dt><dd>
  650. <table class="params">
  651. <tr><td class="paramname">data</td><td>Pointer to buffer to write the data from device. </td></tr>
  652. <tr><td class="paramname">n</td><td>The number of data of type data_t to read </td></tr>
  653. </table>
  654. </dd>
  655. </dl>
  656. <dl class="section return"><dt>Returns</dt><dd>The read data items. </dd></dl>
  657. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00109">109</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  658. </div>
  659. </div>
  660. <a id="a243dbc2e6acd2c2baf56c3c9861a0abf"></a>
  661. <h2 class="memtitle"><span class="permalink"><a href="#a243dbc2e6acd2c2baf56c3c9861a0abf">&#9670;&nbsp;</a></span>get_() <span class="overload">[1/2]</span></h2>
  662. <div class="memitem">
  663. <div class="memproto">
  664. <div class="memtemplate">
  665. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  666. <table class="mlabels">
  667. <tr>
  668. <td class="mlabels-left">
  669. <table class="memname">
  670. <tr>
  671. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::get_ </td>
  672. <td>(</td>
  673. <td class="paramtype">data_t &amp;&#160;</td>
  674. <td class="paramname"><em>data</em></td><td>)</td>
  675. <td></td>
  676. </tr>
  677. </table>
  678. </td>
  679. <td class="mlabels-right">
  680. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
  681. </tr>
  682. </table>
  683. </div><div class="memdoc">
  684. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00079">79</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  685. </div>
  686. </div>
  687. <a id="a374e6cc495d5885ee6be8973c5f4eb8e"></a>
  688. <h2 class="memtitle"><span class="permalink"><a href="#a374e6cc495d5885ee6be8973c5f4eb8e">&#9670;&nbsp;</a></span>get_() <span class="overload">[2/2]</span></h2>
  689. <div class="memitem">
  690. <div class="memproto">
  691. <div class="memtemplate">
  692. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  693. <table class="mlabels">
  694. <tr>
  695. <td class="mlabels-left">
  696. <table class="memname">
  697. <tr>
  698. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::get_ </td>
  699. <td>(</td>
  700. <td class="paramtype">data_t *&#160;</td>
  701. <td class="paramname"><em>data</em>, </td>
  702. </tr>
  703. <tr>
  704. <td class="paramkey"></td>
  705. <td></td>
  706. <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td>
  707. <td class="paramname"><em>n</em>&#160;</td>
  708. </tr>
  709. <tr>
  710. <td></td>
  711. <td>)</td>
  712. <td></td><td></td>
  713. </tr>
  714. </table>
  715. </td>
  716. <td class="mlabels-right">
  717. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
  718. </tr>
  719. </table>
  720. </div><div class="memdoc">
  721. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00080">80</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  722. </div>
  723. </div>
  724. <a id="a55dc56f1277b2bd04b154fbf19d8853f"></a>
  725. <h2 class="memtitle"><span class="permalink"><a href="#a55dc56f1277b2bd04b154fbf19d8853f">&#9670;&nbsp;</a></span>operator=()</h2>
  726. <div class="memitem">
  727. <div class="memproto">
  728. <div class="memtemplate">
  729. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  730. <table class="mlabels">
  731. <tr>
  732. <td class="mlabels-left">
  733. <table class="memname">
  734. <tr>
  735. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>&amp; <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator= </td>
  736. <td>(</td>
  737. <td class="paramtype">const <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> &amp;&#160;</td>
  738. <td class="paramname"></td><td>)</td>
  739. <td></td>
  740. </tr>
  741. </table>
  742. </td>
  743. <td class="mlabels-right">
  744. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
  745. </tr>
  746. </table>
  747. </div><div class="memdoc">
  748. <p>No copy assignments </p>
  749. </div>
  750. </div>
  751. <a id="abe8aa85c0dbe0ddb3745ded02b4e68fe"></a>
  752. <h2 class="memtitle"><span class="permalink"><a href="#abe8aa85c0dbe0ddb3745ded02b4e68fe">&#9670;&nbsp;</a></span>operator&gt;&gt;() <span class="overload">[1/3]</span></h2>
  753. <div class="memitem">
  754. <div class="memproto">
  755. <div class="memtemplate">
  756. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  757. <div class="memtemplate">
  758. template&lt;typename _Dst_t &gt; </div>
  759. <table class="mlabels">
  760. <tr>
  761. <td class="mlabels-left">
  762. <table class="memname">
  763. <tr>
  764. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>&amp; <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator&gt;&gt; </td>
  765. <td>(</td>
  766. <td class="paramtype">_Dst_t &amp;&#160;</td>
  767. <td class="paramname"><em>dst</em></td><td>)</td>
  768. <td></td>
  769. </tr>
  770. </table>
  771. </td>
  772. <td class="mlabels-right">
  773. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  774. </tr>
  775. </table>
  776. </div><div class="memdoc">
  777. <p>Template operator &gt;&gt; implementation for for all by value/ref parameters. </p>
  778. <dl class="section note"><dt>Note</dt><dd>In the case _Dst_t size is not a integer multiple of device's data size this will fail by static assertion </dd></dl>
  779. <dl class="params"><dt>Parameters</dt><dd>
  780. <table class="params">
  781. <tr><td class="paramname">dst</td><td>Reference to destination </td></tr>
  782. </table>
  783. </dd>
  784. </dl>
  785. <dl class="section return"><dt>Returns</dt><dd>Reference to this device for chaining </dd></dl>
  786. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00129">129</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  787. </div>
  788. </div>
  789. <a id="a60b3bba96e6bfd2091e594fdbc93fd6f"></a>
  790. <h2 class="memtitle"><span class="permalink"><a href="#a60b3bba96e6bfd2091e594fdbc93fd6f">&#9670;&nbsp;</a></span>operator&gt;&gt;() <span class="overload">[2/3]</span></h2>
  791. <div class="memitem">
  792. <div class="memproto">
  793. <div class="memtemplate">
  794. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  795. <div class="memtemplate">
  796. template&lt;typename _Dst_t &gt; </div>
  797. <table class="mlabels">
  798. <tr>
  799. <td class="mlabels-left">
  800. <table class="memname">
  801. <tr>
  802. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>&amp; <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator&gt;&gt; </td>
  803. <td>(</td>
  804. <td class="paramtype">_Dst_t *&#160;</td>
  805. <td class="paramname"><em>dst</em></td><td>)</td>
  806. <td></td>
  807. </tr>
  808. </table>
  809. </td>
  810. <td class="mlabels-right">
  811. <span class="mlabels"><span class="mlabel">delete</span></span> </td>
  812. </tr>
  813. </table>
  814. </div><div class="memdoc">
  815. <p>Specialization to disallow pointer types as destination. </p>
  816. </div>
  817. </div>
  818. <a id="a98774619e8575162a8be271833282690"></a>
  819. <h2 class="memtitle"><span class="permalink"><a href="#a98774619e8575162a8be271833282690">&#9670;&nbsp;</a></span>operator&gt;&gt;() <span class="overload">[3/3]</span></h2>
  820. <div class="memitem">
  821. <div class="memproto">
  822. <div class="memtemplate">
  823. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  824. <table class="mlabels">
  825. <tr>
  826. <td class="mlabels-left">
  827. <table class="memname">
  828. <tr>
  829. <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>&amp; <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator&gt;&gt; </td>
  830. <td>(</td>
  831. <td class="paramtype">data_t &amp;&#160;</td>
  832. <td class="paramname"><em>dst</em></td><td>)</td>
  833. <td></td>
  834. </tr>
  835. </table>
  836. </td>
  837. <td class="mlabels-right">
  838. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  839. </tr>
  840. </table>
  841. </div><div class="memdoc">
  842. <p>Overload for single data_t object. </p>
  843. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00140">140</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  844. </div>
  845. </div>
  846. <hr/>The documentation for this class was generated from the following file:<ul>
  847. <li>include/utl/dev/<a class="el" href="in__dev_8h_source.html">in_dev.h</a></li>
  848. </ul>
  849. </div><!-- contents -->
  850. </div><!-- doc-content -->
  851. <!-- start footer part -->
  852. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  853. <ul>
  854. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="classutl_1_1in__dev.html">in_dev</a></li>
  855. <li class="footer">Generated by
  856. <a href="http://www.doxygen.org/index.html">
  857. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  858. </ul>
  859. </div>
  860. </body>
  861. </html>