|
- <!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::inbuf_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_1inbuf__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_1inbuf__dev-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">utl::inbuf_dev< impl_t, data_t, streamsize > Class Template Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p>Abstract base class for input buffered devices.
- <a href="classutl_1_1inbuf__dev.html#details">More...</a></p>
-
- <p><code>#include <<a class="el" href="inbuf__dev_8h_source.html">inbuf_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:ae429fbf167bbd96b2cc46094f3540b10"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#ae429fbf167bbd96b2cc46094f3540b10">type</a> = <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a></td></tr>
- <tr class="memdesc:ae429fbf167bbd96b2cc46094f3540b10"><td class="mdescLeft"> </td><td class="mdescRight">Export type as identity meta-function. <a href="#ae429fbf167bbd96b2cc46094f3540b10">More...</a><br /></td></tr>
- <tr class="separator:ae429fbf167bbd96b2cc46094f3540b10"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
- <tr class="memitem:ae660dce5b5111b0ea4743e32b3d2c3aa"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#ae660dce5b5111b0ea4743e32b3d2c3aa">data_type</a> = data_t</td></tr>
- <tr class="separator:ae660dce5b5111b0ea4743e32b3d2c3aa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a345d3b465e9cf57ebe3a8df31b67fec7"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a345d3b465e9cf57ebe3a8df31b67fec7">pointer_type</a> = data_t *</td></tr>
- <tr class="separator:a345d3b465e9cf57ebe3a8df31b67fec7"><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:aa5b71a9b0c989c4686a053e9d5df9251"><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_1inbuf__dev.html#aa5b71a9b0c989c4686a053e9d5df9251">in_avail</a> ()</td></tr>
- <tr class="separator:aa5b71a9b0c989c4686a053e9d5df9251"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7856963b0bb0bf294be53ea20f3564d0"><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_1inbuf__dev.html#a7856963b0bb0bf294be53ea20f3564d0">get</a> (data_t &data)</td></tr>
- <tr class="memdesc:a7856963b0bb0bf294be53ea20f3564d0"><td class="mdescLeft"> </td><td class="mdescRight">The base get interface. This function should read a single data_t object from device usually in non-blocking mode. <a href="#a7856963b0bb0bf294be53ea20f3564d0">More...</a><br /></td></tr>
- <tr class="separator:a7856963b0bb0bf294be53ea20f3564d0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9290fbfeebac0d161f800bc1522ea5a6"><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_1inbuf__dev.html#a9290fbfeebac0d161f800bc1522ea5a6">get</a> (data_t *data, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n)</td></tr>
- <tr class="memdesc:a9290fbfeebac0d161f800bc1522ea5a6"><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="#a9290fbfeebac0d161f800bc1522ea5a6">More...</a><br /></td></tr>
- <tr class="separator:a9290fbfeebac0d161f800bc1522ea5a6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader">Stream operator >> interface</div></td></tr>
- <tr class="memitem:aca17fb240dfe221effa5a2092563d185"><td class="memTemplParams" colspan="2">template<typename _Dst_t > </td></tr>
- <tr class="memitem:aca17fb240dfe221effa5a2092563d185"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#aca17fb240dfe221effa5a2092563d185">operator>></a> (_Dst_t &dst)</td></tr>
- <tr class="memdesc:aca17fb240dfe221effa5a2092563d185"><td class="mdescLeft"> </td><td class="mdescRight">Template operator >> implementation for for all by value/ref parameters. <a href="#aca17fb240dfe221effa5a2092563d185">More...</a><br /></td></tr>
- <tr class="separator:aca17fb240dfe221effa5a2092563d185"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a48a8160d1dce4542b0b09cff3f6a488b"><td class="memTemplParams" colspan="2">template<typename _Dst_t > </td></tr>
- <tr class="memitem:a48a8160d1dce4542b0b09cff3f6a488b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a48a8160d1dce4542b0b09cff3f6a488b">operator>></a> (_Dst_t *dst)=delete</td></tr>
- <tr class="memdesc:a48a8160d1dce4542b0b09cff3f6a488b"><td class="mdescLeft"> </td><td class="mdescRight">Specialization to disallow pointer types as destination. <a href="#a48a8160d1dce4542b0b09cff3f6a488b">More...</a><br /></td></tr>
- <tr class="separator:a48a8160d1dce4542b0b09cff3f6a488b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6b11ed7628520b4dfe0bd438ccc58197"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a6b11ed7628520b4dfe0bd438ccc58197">operator>></a> (data_t &dst)</td></tr>
- <tr class="memdesc:a6b11ed7628520b4dfe0bd438ccc58197"><td class="mdescLeft"> </td><td class="mdescRight">Overload for single data_t object. <a href="#a6b11ed7628520b4dfe0bd438ccc58197">More...</a><br /></td></tr>
- <tr class="separator:a6b11ed7628520b4dfe0bd438ccc58197"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
- <tr class="memitem:aea05a40b3c8966d1dd3978b40e0c6ac8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#a0c0827ae69fac778cec3abb179bfc0f3">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#aea05a40b3c8966d1dd3978b40e0c6ac8">end</a> () noexcept</td></tr>
- <tr class="separator:aea05a40b3c8966d1dd3978b40e0c6ac8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa862f748551da0bd92341f8f125b8aa3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#aa862f748551da0bd92341f8f125b8aa3">end</a> () const noexcept</td></tr>
- <tr class="separator:aa862f748551da0bd92341f8f125b8aa3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4b51121e0ecc1d43fd3fe7d05bb6fa56"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a4b51121e0ecc1d43fd3fe7d05bb6fa56">cend</a> () const noexcept</td></tr>
- <tr class="separator:a4b51121e0ecc1d43fd3fe7d05bb6fa56"><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:a55763f1c3ba5610404df70bda1abe75b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a55763f1c3ba5610404df70bda1abe75b">~inbuf_dev</a> ()=default</td></tr>
- <tr class="memdesc:a55763f1c3ba5610404df70bda1abe75b"><td class="mdescLeft"> </td><td class="mdescRight">Allow destructor from derived only. <a href="#a55763f1c3ba5610404df70bda1abe75b">More...</a><br /></td></tr>
- <tr class="separator:a55763f1c3ba5610404df70bda1abe75b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9bc1f15ed57132539749d390d5bb03b9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a9bc1f15ed57132539749d390d5bb03b9">inbuf_dev</a> ()=default</td></tr>
- <tr class="memdesc:a9bc1f15ed57132539749d390d5bb03b9"><td class="mdescLeft"> </td><td class="mdescRight">A default constructor from derived only. <a href="#a9bc1f15ed57132539749d390d5bb03b9">More...</a><br /></td></tr>
- <tr class="separator:a9bc1f15ed57132539749d390d5bb03b9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0fe7d9f726d8a0f2b23df6d9520b58ed"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a0fe7d9f726d8a0f2b23df6d9520b58ed">inbuf_dev</a> (const <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> &)=delete</td></tr>
- <tr class="memdesc:a0fe7d9f726d8a0f2b23df6d9520b58ed"><td class="mdescLeft"> </td><td class="mdescRight">No copies. <a href="#a0fe7d9f726d8a0f2b23df6d9520b58ed">More...</a><br /></td></tr>
- <tr class="separator:a0fe7d9f726d8a0f2b23df6d9520b58ed"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7aaf5bc892d6247cb6bb547cf331704c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a7aaf5bc892d6247cb6bb547cf331704c">operator=</a> (const <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> &)=delete</td></tr>
- <tr class="separator:a7aaf5bc892d6247cb6bb547cf331704c"><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:abd832bf35fa1ae0881e8cd86386e5b6b"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> = <a class="el" href="classutl_1_1inbuf__dev.html">inbuf_dev</a>< impl_t, data_t, streamsize ></td></tr>
- <tr class="memdesc:abd832bf35fa1ae0881e8cd86386e5b6b"><td class="mdescLeft"> </td><td class="mdescRight">class type syntactic sugar <a href="#abd832bf35fa1ae0881e8cd86386e5b6b">More...</a><br /></td></tr>
- <tr class="separator:abd832bf35fa1ae0881e8cd86386e5b6b"><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:a6fe2f35813f2b4e94d8d21a4403c8221"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a6fe2f35813f2b4e94d8d21a4403c8221">_CRTP_IMPL</a> (impl_t)</td></tr>
- <tr class="separator:a6fe2f35813f2b4e94d8d21a4403c8221"><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:ac7af0c7df9eee2bcf02579b0fd1d8dea"><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_1inbuf__dev.html#ac7af0c7df9eee2bcf02579b0fd1d8dea">in_avail_</a> ()</td></tr>
- <tr class="separator:ac7af0c7df9eee2bcf02579b0fd1d8dea"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2be58702c31d59e02683d5ff43c9dd6"><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_1inbuf__dev.html#ab2be58702c31d59e02683d5ff43c9dd6">get_</a> (data_t &data)</td></tr>
- <tr class="separator:ab2be58702c31d59e02683d5ff43c9dd6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2f835b56beec0efc5d1cd2088e6a40cb"><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_1inbuf__dev.html#a2f835b56beec0efc5d1cd2088e6a40cb">get_</a> (data_t *data, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n)</td></tr>
- <tr class="separator:a2f835b56beec0efc5d1cd2088e6a40cb"><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:a0c0827ae69fac778cec3abb179bfc0f3"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a0c0827ae69fac778cec3abb179bfc0f3">iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a>< <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a>, data_t *, streamsize ></td></tr>
- <tr class="memdesc:a0c0827ae69fac778cec3abb179bfc0f3"><td class="mdescLeft"> </td><td class="mdescRight">Iterator. <a href="#a0c0827ae69fac778cec3abb179bfc0f3">More...</a><br /></td></tr>
- <tr class="separator:a0c0827ae69fac778cec3abb179bfc0f3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a173c37503cdd40e7ac1be25759553c24"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a>< <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a>, const data_t *, streamsize ></td></tr>
- <tr class="memdesc:a173c37503cdd40e7ac1be25759553c24"><td class="mdescLeft"> </td><td class="mdescRight">Const iterator. <a href="#a173c37503cdd40e7ac1be25759553c24">More...</a><br /></td></tr>
- <tr class="separator:a173c37503cdd40e7ac1be25759553c24"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0b7b02345e2306dc9f62a75029de71fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#a0c0827ae69fac778cec3abb179bfc0f3">iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a0b7b02345e2306dc9f62a75029de71fb">begin</a> () noexcept</td></tr>
- <tr class="memdesc:a0b7b02345e2306dc9f62a75029de71fb"><td class="mdescLeft"> </td><td class="mdescRight">.begin implementation <a href="#a0b7b02345e2306dc9f62a75029de71fb">More...</a><br /></td></tr>
- <tr class="separator:a0b7b02345e2306dc9f62a75029de71fb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:acf6f21857302843661cdbbbeea61f05b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#acf6f21857302843661cdbbbeea61f05b">begin</a> () const noexcept</td></tr>
- <tr class="separator:acf6f21857302843661cdbbbeea61f05b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3c24ad3be57e15019e3fbd579e5fccb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1inbuf__dev.html#a3c24ad3be57e15019e3fbd579e5fccb3">cbegin</a> () const noexcept</td></tr>
- <tr class="separator:a3c24ad3be57e15019e3fbd579e5fccb3"><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::inbuf_dev< impl_t, data_t, streamsize ></h3>
-
- <p>Abstract base class for input buffered devices. </p>
- <p>Template base class for buffered input buffered devices. using CRTP</p>
- <p>This class force a common interface for input, 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_1inbuf__dev.html#a0b7b02345e2306dc9f62a75029de71fb" title=".begin implementation ">begin()</a> now equals <a class="el" href="classutl_1_1inbuf__dev.html#aea05a40b3c8966d1dd3978b40e0c6ac8">end()</a>. </li>
- </ul>
- </td></tr>
- </table>
- </dd>
- </dl>
-
- <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00055">55</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
- </div><h2 class="groupheader">Member Typedef Documentation</h2>
- <a id="a173c37503cdd40e7ac1be25759553c24"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a173c37503cdd40e7ac1be25759553c24">◆ </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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a> <<a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_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="inbuf__dev_8h_source.html#l00162">162</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="ae660dce5b5111b0ea4743e32b3d2c3aa"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae660dce5b5111b0ea4743e32b3d2c3aa">◆ </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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html#ae660dce5b5111b0ea4743e32b3d2c3aa">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="inbuf__dev_8h_source.html#l00062">62</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="abd832bf35fa1ae0881e8cd86386e5b6b"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abd832bf35fa1ae0881e8cd86386e5b6b">◆ </a></span>inbuf_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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a> = <a class="el" href="classutl_1_1inbuf__dev.html">inbuf_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="inbuf__dev_8h_source.html#l00057">57</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a0c0827ae69fac778cec3abb179bfc0f3"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0c0827ae69fac778cec3abb179bfc0f3">◆ </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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html#a0c0827ae69fac778cec3abb179bfc0f3">iterator</a> = <a class="el" href="classutl_1_1indev__it.html">indev_it</a> <<a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_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="inbuf__dev_8h_source.html#l00161">161</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a345d3b465e9cf57ebe3a8df31b67fec7"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a345d3b465e9cf57ebe3a8df31b67fec7">◆ </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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html#a345d3b465e9cf57ebe3a8df31b67fec7">pointer_type</a> = data_t*</td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00063">63</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="ae429fbf167bbd96b2cc46094f3540b10"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae429fbf167bbd96b2cc46094f3540b10">◆ </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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html#ae429fbf167bbd96b2cc46094f3540b10">type</a> = <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_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="inbuf__dev_8h_source.html#l00065">65</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="a55763f1c3ba5610404df70bda1abe75b"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a55763f1c3ba5610404df70bda1abe75b">◆ </a></span>~inbuf_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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::~<a class="el" href="classutl_1_1inbuf__dev.html">inbuf_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="a9bc1f15ed57132539749d390d5bb03b9"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a9bc1f15ed57132539749d390d5bb03b9">◆ </a></span>inbuf_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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html">inbuf_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="a0fe7d9f726d8a0f2b23df6d9520b58ed"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0fe7d9f726d8a0f2b23df6d9520b58ed">◆ </a></span>inbuf_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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::<a class="el" href="classutl_1_1inbuf__dev.html">inbuf_dev</a> </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_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="a6fe2f35813f2b4e94d8d21a4403c8221"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a6fe2f35813f2b4e94d8d21a4403c8221">◆ </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_1inbuf__dev.html">utl::inbuf_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="a0b7b02345e2306dc9f62a75029de71fb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0b7b02345e2306dc9f62a75029de71fb">◆ </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_1inbuf__dev.html#a0c0827ae69fac778cec3abb179bfc0f3">iterator</a> <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00165">165</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="acf6f21857302843661cdbbbeea61f05b"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#acf6f21857302843661cdbbbeea61f05b">◆ </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_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00166">166</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a3c24ad3be57e15019e3fbd579e5fccb3"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a3c24ad3be57e15019e3fbd579e5fccb3">◆ </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_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00167">167</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a4b51121e0ecc1d43fd3fe7d05bb6fa56"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a4b51121e0ecc1d43fd3fe7d05bb6fa56">◆ </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_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00172">172</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="aea05a40b3c8966d1dd3978b40e0c6ac8"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aea05a40b3c8966d1dd3978b40e0c6ac8">◆ </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_1inbuf__dev.html#a0c0827ae69fac778cec3abb179bfc0f3">iterator</a> <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00170">170</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="aa862f748551da0bd92341f8f125b8aa3"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa862f748551da0bd92341f8f125b8aa3">◆ </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_1inbuf__dev.html#a173c37503cdd40e7ac1be25759553c24">const_iterator</a> <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00171">171</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a7856963b0bb0bf294be53ea20f3564d0"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a7856963b0bb0bf294be53ea20f3564d0">◆ </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_1inbuf__dev.html">utl::inbuf_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>The base get interface. This function should read a single data_t object from device usually in non-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="inbuf__dev_8h_source.html#l00108">108</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a9290fbfeebac0d161f800bc1522ea5a6"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a9290fbfeebac0d161f800bc1522ea5a6">◆ </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_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00120">120</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="ab2be58702c31d59e02683d5ff43c9dd6"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab2be58702c31d59e02683d5ff43c9dd6">◆ </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_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00082">82</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a2f835b56beec0efc5d1cd2088e6a40cb"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a2f835b56beec0efc5d1cd2088e6a40cb">◆ </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_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00083">83</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="aa5b71a9b0c989c4686a053e9d5df9251"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa5b71a9b0c989c4686a053e9d5df9251">◆ </a></span>in_avail()</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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::in_avail </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> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <dl class="section return"><dt>Returns</dt><dd>The available <em>data_t</em> typed items in input buffer. </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00095">95</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="ac7af0c7df9eee2bcf02579b0fd1d8dea"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ac7af0c7df9eee2bcf02579b0fd1d8dea">◆ </a></span>in_avail_()</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_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::in_avail_ </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">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="inbuf__dev_8h_source.html#l00081">81</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a7aaf5bc892d6247cb6bb547cf331704c"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a7aaf5bc892d6247cb6bb547cf331704c">◆ </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_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a>& <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_dev</a>< impl_t, data_t, streamsize >::operator= </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classutl_1_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_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="aca17fb240dfe221effa5a2092563d185"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aca17fb240dfe221effa5a2092563d185">◆ </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_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a>& <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00140">140</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_dev.h</a>.</p>
-
- </div>
- </div>
- <a id="a48a8160d1dce4542b0b09cff3f6a488b"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a48a8160d1dce4542b0b09cff3f6a488b">◆ </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_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a>& <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="a6b11ed7628520b4dfe0bd438ccc58197"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a6b11ed7628520b4dfe0bd438ccc58197">◆ </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_1inbuf__dev.html#abd832bf35fa1ae0881e8cd86386e5b6b">inbuf_dev_t</a>& <a class="el" href="classutl_1_1inbuf__dev.html">utl::inbuf_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="inbuf__dev_8h_source.html#l00151">151</a> of file <a class="el" href="inbuf__dev_8h_source.html">inbuf_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="inbuf__dev_8h_source.html">inbuf_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_1inbuf__dev.html">inbuf_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>
|