|
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>uTL: utl::in_dev< impl_t, data_t, streamsize > Class Template Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(initResizable);
- /* @license-end */</script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">uTL
- </div>
- <div id="projectbrief">micro Template library</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('classutl_1_1in__dev.html','');});
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- <div class="header">
- <div class="summary">
- <a href="#pub-types">Public Types</a> |
- <a href="#pri-types">Private Types</a> |
- <a href="#pri-methods">Private Member Functions</a> |
- <a href="classutl_1_1in__dev-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">utl::in_dev< impl_t, data_t, streamsize > Class Template Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p>Abstract base class for input devices.
- <a href="classutl_1_1in__dev.html#details">More...</a></p>
-
- <p><code>#include <<a class="el" href="in__dev_8h_source.html">in_dev.h</a>></code></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr class="memitem:adef54df1c3d4ae20629ecfdb7826384c"><td class="memItemLeft" align="right" valign="top">using </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>
- <tr class="memdesc:adef54df1c3d4ae20629ecfdb7826384c"><td class="mdescLeft"> </td><td class="mdescRight">Export type as identity meta-function. <a href="#adef54df1c3d4ae20629ecfdb7826384c">More...</a><br /></td></tr>
- <tr class="separator:adef54df1c3d4ae20629ecfdb7826384c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
- <tr class="memitem:acb38742b242e8cf90323d46a9907863d"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#acb38742b242e8cf90323d46a9907863d">data_type</a> = data_t</td></tr>
- <tr class="separator:acb38742b242e8cf90323d46a9907863d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aef4b5c41ab91ef284cfc0cf6100c0828"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aef4b5c41ab91ef284cfc0cf6100c0828">pointer_type</a> = data_t *</td></tr>
- <tr class="separator:aef4b5c41ab91ef284cfc0cf6100c0828"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr><td colspan="2"><div class="groupHeader">Public Get interface</div></td></tr>
- <tr class="memitem:aa13a075d41f3e020f4f67c2a59d580a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aa13a075d41f3e020f4f67c2a59d580a5">get</a> (data_t &data)</td></tr>
- <tr class="memdesc:aa13a075d41f3e020f4f67c2a59d580a5"><td class="mdescLeft"> </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>
- <tr class="separator:aa13a075d41f3e020f4f67c2a59d580a5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5536fdd877bc9f078a9ede43ccc283e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </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>
- <tr class="memdesc:a5536fdd877bc9f078a9ede43ccc283e7"><td class="mdescLeft"> </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>
- <tr class="separator:a5536fdd877bc9f078a9ede43ccc283e7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader">Stream operator >> interface</div></td></tr>
- <tr class="memitem:abe8aa85c0dbe0ddb3745ded02b4e68fe"><td class="memTemplParams" colspan="2">template<typename _Dst_t > </td></tr>
- <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> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#abe8aa85c0dbe0ddb3745ded02b4e68fe">operator>></a> (_Dst_t &dst)</td></tr>
- <tr class="memdesc:abe8aa85c0dbe0ddb3745ded02b4e68fe"><td class="mdescLeft"> </td><td class="mdescRight">Template operator >> implementation for for all by value/ref parameters. <a href="#abe8aa85c0dbe0ddb3745ded02b4e68fe">More...</a><br /></td></tr>
- <tr class="separator:abe8aa85c0dbe0ddb3745ded02b4e68fe"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a60b3bba96e6bfd2091e594fdbc93fd6f"><td class="memTemplParams" colspan="2">template<typename _Dst_t > </td></tr>
- <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> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a60b3bba96e6bfd2091e594fdbc93fd6f">operator>></a> (_Dst_t *dst)=delete</td></tr>
- <tr class="memdesc:a60b3bba96e6bfd2091e594fdbc93fd6f"><td class="mdescLeft"> </td><td class="mdescRight">Specialization to disallow pointer types as destination. <a href="#a60b3bba96e6bfd2091e594fdbc93fd6f">More...</a><br /></td></tr>
- <tr class="separator:a60b3bba96e6bfd2091e594fdbc93fd6f"><td class="memSeparator" colspan="2"> </td></tr>
- <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> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a98774619e8575162a8be271833282690">operator>></a> (data_t &dst)</td></tr>
- <tr class="memdesc:a98774619e8575162a8be271833282690"><td class="mdescLeft"> </td><td class="mdescRight">Overload for single data_t object. <a href="#a98774619e8575162a8be271833282690">More...</a><br /></td></tr>
- <tr class="separator:a98774619e8575162a8be271833282690"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
- <tr class="memitem:aae7797f366d25091b63ad87b34ed4b48"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aae7797f366d25091b63ad87b34ed4b48">end</a> () noexcept</td></tr>
- <tr class="separator:aae7797f366d25091b63ad87b34ed4b48"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aecb438cbb0e2a6c3a926aad81e8c29c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#aecb438cbb0e2a6c3a926aad81e8c29c7">end</a> () const noexcept</td></tr>
- <tr class="separator:aecb438cbb0e2a6c3a926aad81e8c29c7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac54d9a1fb6241be460ffc792aac18b24"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#ac54d9a1fb6241be460ffc792aac18b24">cend</a> () const noexcept</td></tr>
- <tr class="separator:ac54d9a1fb6241be460ffc792aac18b24"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr><td colspan="2"><div class="groupHeader">Constructor / Destructor</div></td></tr>
- <tr class="memitem:a2caa0f47e6132f051bb54b1acea37fc6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a2caa0f47e6132f051bb54b1acea37fc6">~in_dev</a> ()=default</td></tr>
- <tr class="memdesc:a2caa0f47e6132f051bb54b1acea37fc6"><td class="mdescLeft"> </td><td class="mdescRight">Allow destructor from derived only. <a href="#a2caa0f47e6132f051bb54b1acea37fc6">More...</a><br /></td></tr>
- <tr class="separator:a2caa0f47e6132f051bb54b1acea37fc6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1ca16c382f5e0dd25089a4e06a40f2f2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a1ca16c382f5e0dd25089a4e06a40f2f2">in_dev</a> ()=default</td></tr>
- <tr class="memdesc:a1ca16c382f5e0dd25089a4e06a40f2f2"><td class="mdescLeft"> </td><td class="mdescRight">A default constructor from derived only. <a href="#a1ca16c382f5e0dd25089a4e06a40f2f2">More...</a><br /></td></tr>
- <tr class="separator:a1ca16c382f5e0dd25089a4e06a40f2f2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a570c94b183eff6f8ca2d7d9ab5d9a7ea"><td class="memItemLeft" align="right" valign="top"> </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> &)=delete</td></tr>
- <tr class="memdesc:a570c94b183eff6f8ca2d7d9ab5d9a7ea"><td class="mdescLeft"> </td><td class="mdescRight">No copies. <a href="#a570c94b183eff6f8ca2d7d9ab5d9a7ea">More...</a><br /></td></tr>
- <tr class="separator:a570c94b183eff6f8ca2d7d9ab5d9a7ea"><td class="memSeparator" colspan="2"> </td></tr>
- <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> & </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> &)=delete</td></tr>
- <tr class="separator:a55dc56f1277b2bd04b154fbf19d8853f"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
- Private Types</h2></td></tr>
- <tr class="memitem:a1bcb5426bf837e27c9fa6128f25d2857"><td class="memItemLeft" align="right" valign="top">using </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>< impl_t, data_t, streamsize ></td></tr>
- <tr class="memdesc:a1bcb5426bf837e27c9fa6128f25d2857"><td class="mdescLeft"> </td><td class="mdescRight">class type syntactic sugar <a href="#a1bcb5426bf837e27c9fa6128f25d2857">More...</a><br /></td></tr>
- <tr class="separator:a1bcb5426bf837e27c9fa6128f25d2857"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
- Private Member Functions</h2></td></tr>
- <tr class="memitem:a370913d250e982328560b034adf227c0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a370913d250e982328560b034adf227c0">_CRTP_IMPL</a> (impl_t)</td></tr>
- <tr class="separator:a370913d250e982328560b034adf227c0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader">Common input device interface requirements</div></td></tr>
- <tr class="memitem:a243dbc2e6acd2c2baf56c3c9861a0abf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a243dbc2e6acd2c2baf56c3c9861a0abf">get_</a> (data_t &data)</td></tr>
- <tr class="separator:a243dbc2e6acd2c2baf56c3c9861a0abf"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a374e6cc495d5885ee6be8973c5f4eb8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </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>
- <tr class="separator:a374e6cc495d5885ee6be8973c5f4eb8e"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
- STL-like Input iterator interface</h2></td></tr>
- <tr class="memitem:a629f2364e2ab427cbdc0c7f1cb8e8a66"><td class="memItemLeft" align="right" valign="top">using </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>< <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, data_t *, streamsize ></td></tr>
- <tr class="memdesc:a629f2364e2ab427cbdc0c7f1cb8e8a66"><td class="mdescLeft"> </td><td class="mdescRight">Iterator. <a href="#a629f2364e2ab427cbdc0c7f1cb8e8a66">More...</a><br /></td></tr>
- <tr class="separator:a629f2364e2ab427cbdc0c7f1cb8e8a66"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a686e6cda465a7e08b29465a75740e043"><td class="memItemLeft" align="right" valign="top">using </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>< <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, const data_t *, streamsize ></td></tr>
- <tr class="memdesc:a686e6cda465a7e08b29465a75740e043"><td class="mdescLeft"> </td><td class="mdescRight">Const iterator. <a href="#a686e6cda465a7e08b29465a75740e043">More...</a><br /></td></tr>
- <tr class="separator:a686e6cda465a7e08b29465a75740e043"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2158d8a134dff882a3eac2960da04c0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#ab2158d8a134dff882a3eac2960da04c0">begin</a> () noexcept</td></tr>
- <tr class="memdesc:ab2158d8a134dff882a3eac2960da04c0"><td class="mdescLeft"> </td><td class="mdescRight">.begin implementation <a href="#ab2158d8a134dff882a3eac2960da04c0">More...</a><br /></td></tr>
- <tr class="separator:ab2158d8a134dff882a3eac2960da04c0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af81ff90ccb0070ad9388bc032d6d3279"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#af81ff90ccb0070ad9388bc032d6d3279">begin</a> () const noexcept</td></tr>
- <tr class="separator:af81ff90ccb0070ad9388bc032d6d3279"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1120a80c871e1ea8165b4943c767893d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1in__dev.html#a686e6cda465a7e08b29465a75740e043">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1in__dev.html#a1120a80c871e1ea8165b4943c767893d">cbegin</a> () const noexcept</td></tr>
- <tr class="separator:a1120a80c871e1ea8165b4943c767893d"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><h3>template<typename impl_t, typename data_t, size_t streamsize = 0><br />
- class utl::in_dev< impl_t, data_t, streamsize ></h3>
-
- <p>Abstract base class for input devices. </p>
- <p>Template base class for un-buffered input devices. using CRTP</p>
- <p>This class force a common interface for input, non-buffered devices. By using this common interface the class implements</p><ul>
- <li>Stream-like extracting operator</li>
- <li>Input iterator</li>
- <li>Const input iterator to inherit to implementation.</li>
- </ul>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">impl_t</td><td>The CRTP type (the derived/implementation class typename). </td></tr>
- <tr><td class="paramname">data_t</td><td>The devices base type of data </td></tr>
- <tr><td class="paramname">streamsize</td><td>The number of elements to indicate eos. <ul>
- <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>
- </ul>
- </td></tr>
- </table>
- </dd>
- </dl>
-
- <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>
- </div><h2 class="groupheader">Member Typedef Documentation</h2>
- <a id="a686e6cda465a7e08b29465a75740e043"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a686e6cda465a7e08b29465a75740e043">◆ </a></span>const_iterator</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="memname">
- <tr>
- <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<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> <<a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, const data_t*, streamsize></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Const iterator. </p>
-
- <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>
-
- </div>
- </div>
- <a id="acb38742b242e8cf90323d46a9907863d"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#acb38742b242e8cf90323d46a9907863d">◆ </a></span>data_type</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="memname">
- <tr>
- <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1in__dev.html#acb38742b242e8cf90323d46a9907863d">data_type</a> = data_t</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Export types as input device concept demands </p>
-
- <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>
-
- </div>
- </div>
- <a id="a1bcb5426bf837e27c9fa6128f25d2857"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1bcb5426bf837e27c9fa6128f25d2857">◆ </a></span>in_dev_t</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<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> <impl_t, data_t, streamsize></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>class type syntactic sugar </p>
-
- <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>
-
- </div>
- </div>
- <a id="a629f2364e2ab427cbdc0c7f1cb8e8a66"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a629f2364e2ab427cbdc0c7f1cb8e8a66">◆ </a></span>iterator</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="memname">
- <tr>
- <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1in__dev.html#a629f2364e2ab427cbdc0c7f1cb8e8a66">iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a> <<a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>, data_t*, streamsize></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Iterator. </p>
-
- <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>
-
- </div>
- </div>
- <a id="aef4b5c41ab91ef284cfc0cf6100c0828"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aef4b5c41ab91ef284cfc0cf6100c0828">◆ </a></span>pointer_type</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="memname">
- <tr>
- <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1in__dev.html#aef4b5c41ab91ef284cfc0cf6100c0828">pointer_type</a> = data_t*</td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <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>
-
- </div>
- </div>
- <a id="adef54df1c3d4ae20629ecfdb7826384c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#adef54df1c3d4ae20629ecfdb7826384c">◆ </a></span>type</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="memname">
- <tr>
- <td class="memname">using <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<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>
- </table>
- </div><div class="memdoc">
-
- <p>Export type as identity meta-function. </p>
-
- <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>
-
- </div>
- </div>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="a2caa0f47e6132f051bb54b1acea37fc6"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a2caa0f47e6132f051bb54b1acea37fc6">◆ </a></span>~in_dev()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::~<a class="el" href="classutl_1_1in__dev.html">in_dev</a> </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Allow destructor from derived only. </p>
-
- </div>
- </div>
- <a id="a1ca16c382f5e0dd25089a4e06a40f2f2"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1ca16c382f5e0dd25089a4e06a40f2f2">◆ </a></span>in_dev() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1in__dev.html">in_dev</a> </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>A default constructor from derived only. </p>
-
- </div>
- </div>
- <a id="a570c94b183eff6f8ca2d7d9ab5d9a7ea"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a570c94b183eff6f8ca2d7d9ab5d9a7ea">◆ </a></span>in_dev() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1in__dev.html">in_dev</a> </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> & </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>No copies. </p>
-
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="a370913d250e982328560b034adf227c0"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a370913d250e982328560b034adf227c0">◆ </a></span>_CRTP_IMPL()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::_CRTP_IMPL </td>
- <td>(</td>
- <td class="paramtype">impl_t </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="ab2158d8a134dff882a3eac2960da04c0"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab2158d8a134dff882a3eac2960da04c0">◆ </a></span>begin() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::begin </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>.begin implementation </p>
-
- <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>
-
- </div>
- </div>
- <a id="af81ff90ccb0070ad9388bc032d6d3279"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af81ff90ccb0070ad9388bc032d6d3279">◆ </a></span>begin() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::begin </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <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>
-
- </div>
- </div>
- <a id="a1120a80c871e1ea8165b4943c767893d"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1120a80c871e1ea8165b4943c767893d">◆ </a></span>cbegin()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::cbegin </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <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>
-
- </div>
- </div>
- <a id="ac54d9a1fb6241be460ffc792aac18b24"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ac54d9a1fb6241be460ffc792aac18b24">◆ </a></span>cend()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::cend </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <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>
-
- </div>
- </div>
- <a id="aae7797f366d25091b63ad87b34ed4b48"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aae7797f366d25091b63ad87b34ed4b48">◆ </a></span>end() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::end </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>.end implementation </p>
-
- <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>
-
- </div>
- </div>
- <a id="aecb438cbb0e2a6c3a926aad81e8c29c7"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aecb438cbb0e2a6c3a926aad81e8c29c7">◆ </a></span>end() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::end </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <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>
-
- </div>
- </div>
- <a id="aa13a075d41f3e020f4f67c2a59d580a5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa13a075d41f3e020f4f67c2a59d580a5">◆ </a></span>get() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::get </td>
- <td>(</td>
- <td class="paramtype">data_t & </td>
- <td class="paramname"><em>data</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Get interface. This function should read a single data_t object from device in blocking mode. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">data</td><td>Reference to data output from device. </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>Number of data read from device </dd></dl>
- <dl class="section note"><dt>Note</dt><dd>A successful call should return 1 </dd></dl>
-
- <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>
-
- </div>
- </div>
- <a id="a5536fdd877bc9f078a9ede43ccc283e7"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a5536fdd877bc9f078a9ede43ccc283e7">◆ </a></span>get() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::get </td>
- <td>(</td>
- <td class="paramtype">data_t * </td>
- <td class="paramname"><em>data</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td>
- <td class="paramname"><em>n</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Old stile get functionality using free standing data_t*. This function should return a stream of data from device. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">data</td><td>Pointer to buffer to write the data from device. </td></tr>
- <tr><td class="paramname">n</td><td>The number of data of type data_t to read </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The read data items. </dd></dl>
-
- <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>
-
- </div>
- </div>
- <a id="a243dbc2e6acd2c2baf56c3c9861a0abf"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a243dbc2e6acd2c2baf56c3c9861a0abf">◆ </a></span>get_() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::get_ </td>
- <td>(</td>
- <td class="paramtype">data_t & </td>
- <td class="paramname"><em>data</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <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>
-
- </div>
- </div>
- <a id="a374e6cc495d5885ee6be8973c5f4eb8e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a374e6cc495d5885ee6be8973c5f4eb8e">◆ </a></span>get_() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <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>< impl_t, data_t, streamsize >::get_ </td>
- <td>(</td>
- <td class="paramtype">data_t * </td>
- <td class="paramname"><em>data</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td>
- <td class="paramname"><em>n</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <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>
-
- </div>
- </div>
- <a id="a55dc56f1277b2bd04b154fbf19d8853f"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a55dc56f1277b2bd04b154fbf19d8853f">◆ </a></span>operator=()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>& <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::operator= </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a> & </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>No copy assignments </p>
-
- </div>
- </div>
- <a id="abe8aa85c0dbe0ddb3745ded02b4e68fe"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abe8aa85c0dbe0ddb3745ded02b4e68fe">◆ </a></span>operator>>() <span class="overload">[1/3]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <div class="memtemplate">
- template<typename _Dst_t > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>& <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::operator>> </td>
- <td>(</td>
- <td class="paramtype">_Dst_t & </td>
- <td class="paramname"><em>dst</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Template operator >> implementation for for all by value/ref parameters. </p>
- <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>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">dst</td><td>Reference to destination </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>Reference to this device for chaining </dd></dl>
-
- <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>
-
- </div>
- </div>
- <a id="a60b3bba96e6bfd2091e594fdbc93fd6f"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a60b3bba96e6bfd2091e594fdbc93fd6f">◆ </a></span>operator>>() <span class="overload">[2/3]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <div class="memtemplate">
- template<typename _Dst_t > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>& <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::operator>> </td>
- <td>(</td>
- <td class="paramtype">_Dst_t * </td>
- <td class="paramname"><em>dst</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">delete</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Specialization to disallow pointer types as destination. </p>
-
- </div>
- </div>
- <a id="a98774619e8575162a8be271833282690"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a98774619e8575162a8be271833282690">◆ </a></span>operator>>() <span class="overload">[3/3]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t , typename data_t , size_t streamsize = 0> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1in__dev.html#a1bcb5426bf837e27c9fa6128f25d2857">in_dev_t</a>& <a class="el" href="classutl_1_1in__dev.html">utl::in_dev</a>< impl_t, data_t, streamsize >::operator>> </td>
- <td>(</td>
- <td class="paramtype">data_t & </td>
- <td class="paramname"><em>dst</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Overload for single data_t object. </p>
-
- <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>
-
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li>include/utl/dev/<a class="el" href="in__dev_8h_source.html">in_dev.h</a></li>
- </ul>
- </div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <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>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
- </ul>
- </div>
- </body>
- </html>
|