Files
moslab-code/doc/source/html/ipc__stream.html
2025-09-12 15:55:45 +02:00

723 lines
51 KiB
HTML

<!-- HTML header for doxygen 1.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>L4Re Operating System Framework: l4/cxx/ipc_stream File 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="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></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" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
<link href="l4re-awesome.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="projectlogo"><img alt="Logo" src="L4Re_rgb_logo_quer_hg_h55.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">L4Re Operating System Framework
</div>
<div id="projectbrief">Interface and Usage Documentation</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.15.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
</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">
$(function(){initNavTree('ipc__stream.html','',''); });
</script>
<div id="container">
<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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">ipc_stream File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>IPC stream.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="l4_2sys_2ipc_8h_source.html">l4/sys/ipc.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="capability_source.html">l4/sys/capability</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="ipc__types_source.html">l4/sys/cxx/ipc_types</a>&gt;</code><br />
<code>#include &lt;l4/sys/cxx/ipc_varg&gt;</code><br />
<code>#include &lt;l4/cxx/type_traits&gt;</code><br />
<code>#include &lt;l4/cxx/minmax&gt;</code><br />
</div><div class="textblock"><div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Include dependency graph for ipc_stream:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream__incl.svg" width="1408" height="1004"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div><div class="textblock"><div id="dynsection-1" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>This graph shows which files directly or indirectly include this file:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream__dep__incl.svg" width="326" height="110"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
<p><a href="ipc__stream_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-nested-classes" class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:L4_3A_3AIpc_3A_3AStr_5Fcp_5Fin_3C_20T_20_3E" id="r_L4_3A_3AIpc_3A_3AStr_5Fcp_5Fin_3C_20T_20_3E"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classL4_1_1Ipc_1_1Str__cp__in.html">L4::Ipc::Str_cp_in&lt; T &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Abstraction for extracting a zero-terminated string from an <a class="el" href="classL4_1_1Ipc_1_1Istream.html" title="Input stream for IPC unmarshalling.">Ipc::Istream</a>. <a href="classL4_1_1Ipc_1_1Str__cp__in.html#details">More...</a><br /></td></tr>
<tr class="memitem:L4_3A_3AIpc_3A_3AMsg_5Fptr_3C_20T_20_3E" id="r_L4_3A_3AIpc_3A_3AMsg_5Fptr_3C_20T_20_3E"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classL4_1_1Ipc_1_1Msg__ptr.html">L4::Ipc::Msg_ptr&lt; T &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pointer to an element of type T in an <a class="el" href="classL4_1_1Ipc_1_1Istream.html" title="Input stream for IPC unmarshalling.">Ipc::Istream</a>. <a href="classL4_1_1Ipc_1_1Msg__ptr.html#details">More...</a><br /></td></tr>
<tr class="memitem:L4_3A_3AIpc_3A_3AIstream" id="r_L4_3A_3AIpc_3A_3AIstream"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input stream for IPC unmarshalling. <a href="classL4_1_1Ipc_1_1Istream.html#details">More...</a><br /></td></tr>
<tr class="memitem:L4_3A_3AIpc_3A_3AOstream" id="r_L4_3A_3AIpc_3A_3AOstream"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Output stream for IPC marshalling. <a href="classL4_1_1Ipc_1_1Ostream.html#details">More...</a><br /></td></tr>
<tr class="memitem:L4_3A_3AIpc_3A_3AIostream" id="r_L4_3A_3AIpc_3A_3AIostream"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classL4_1_1Ipc_1_1Iostream.html">L4::Ipc::Iostream</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input/Output stream for IPC [un]marshalling. <a href="classL4_1_1Ipc_1_1Iostream.html#details">More...</a><br /></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-namespaces" class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:L4" id="r_L4"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4.html">L4</a></td></tr>
<tr class="memdesc:namespaceL4"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="namespaceL4.html" title="L4 low-level kernel interface.">L4</a> low-level kernel interface. <br /></td></tr>
<tr class="memitem:L4_3A_3AIpc" id="r_L4_3A_3AIpc"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4_1_1Ipc.html">L4::Ipc</a></td></tr>
<tr class="memdesc:namespaceL4_1_1Ipc"><td class="mdescLeft">&#160;</td><td class="mdescRight">IPC related functionality. <br /></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a57f3a70c8396ed77fd006b84f44023e4" id="r_a57f3a70c8396ed77fd006b84f44023e4"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a57f3a70c8396ed77fd006b84f44023e4 template"><td class="memItemLeft" align="right" valign="top">Internal::Buf_cp_out&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4_1_1Ipc.html#a57f3a70c8396ed77fd006b84f44023e4">L4::Ipc::buf_cp_out</a> (T const *v, unsigned long size)</td></tr>
<tr class="memdesc:a57f3a70c8396ed77fd006b84f44023e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert an array into an <a class="el" href="classL4_1_1Ipc_1_1Ostream.html" title="Output stream for IPC marshalling.">Ipc::Ostream</a>. <br /></td></tr>
<tr class="memitem:a7a3b27526de8d5179e8906968d2b90ee" id="r_a7a3b27526de8d5179e8906968d2b90ee"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a7a3b27526de8d5179e8906968d2b90ee template"><td class="memItemLeft" align="right" valign="top">Internal::Buf_cp_in&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4_1_1Ipc.html#a7a3b27526de8d5179e8906968d2b90ee">L4::Ipc::buf_cp_in</a> (T *v, unsigned long &amp;size)</td></tr>
<tr class="memdesc:a7a3b27526de8d5179e8906968d2b90ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract an array from an <a class="el" href="classL4_1_1Ipc_1_1Istream.html" title="Input stream for IPC unmarshalling.">Ipc::Istream</a>. <br /></td></tr>
<tr class="memitem:a3631594384493d8e2878ca2899dcc886" id="r_a3631594384493d8e2878ca2899dcc886"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a3631594384493d8e2878ca2899dcc886 template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Str__cp__in.html">Str_cp_in</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4_1_1Ipc.html#a3631594384493d8e2878ca2899dcc886">L4::Ipc::str_cp_in</a> (T *v, unsigned long &amp;size)</td></tr>
<tr class="memdesc:a3631594384493d8e2878ca2899dcc886"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a <a class="el" href="classL4_1_1Ipc_1_1Str__cp__in.html" title="Abstraction for extracting a zero-terminated string from an Ipc::Istream.">Str_cp_in</a> for the given values. <br /></td></tr>
<tr class="memitem:ab252ad2428ad3644d59df26fe24ec112" id="r_ab252ad2428ad3644d59df26fe24ec112"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:ab252ad2428ad3644d59df26fe24ec112 template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Msg__ptr.html">Msg_ptr</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4_1_1Ipc.html#ab252ad2428ad3644d59df26fe24ec112">L4::Ipc::msg_ptr</a> (T *&amp;p)</td></tr>
<tr class="memdesc:ab252ad2428ad3644d59df26fe24ec112"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an <a class="el" href="classL4_1_1Ipc_1_1Msg__ptr.html" title="Pointer to an element of type T in an Ipc::Istream.">Msg_ptr</a> to adjust the given pointer. <br /></td></tr>
<tr class="memitem:a4a9721744594b5fb52cccb6fc51eb6d2" id="r_a4a9721744594b5fb52cccb6fc51eb6d2"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a4a9721744594b5fb52cccb6fc51eb6d2 template"><td class="memItemLeft" align="right" valign="top">Internal::Buf_in&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4_1_1Ipc.html#a4a9721744594b5fb52cccb6fc51eb6d2">L4::Ipc::buf_in</a> (T *&amp;v, unsigned long &amp;size)</td></tr>
<tr class="memdesc:a4a9721744594b5fb52cccb6fc51eb6d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to stream array data. <br /></td></tr>
<tr class="memitem:ace3d2ecfa7716243dbecdcfc52d733d0" id="r_ace3d2ecfa7716243dbecdcfc52d733d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ace3d2ecfa7716243dbecdcfc52d733d0">operator&gt;&gt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;s, bool &amp;v)</td></tr>
<tr class="memdesc:ace3d2ecfa7716243dbecdcfc52d733d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract one element of type <span class="tt">T</span> from the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:a6504e271fab6d63fc78f0eeb512316bd" id="r_a6504e271fab6d63fc78f0eeb512316bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6504e271fab6d63fc78f0eeb512316bd">operator&gt;&gt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;s, <a class="el" href="structl4__msgtag__t.html">l4_msgtag_t</a> &amp;v)</td></tr>
<tr class="memdesc:a6504e271fab6d63fc78f0eeb512316bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract the <a class="el" href="namespaceL4.html" title="L4 low-level kernel interface.">L4</a> message tag from the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:a3bcad61fc6dfcc57bc6fe4afafabe831" id="r_a3bcad61fc6dfcc57bc6fe4afafabe831"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a3bcad61fc6dfcc57bc6fe4afafabe831 template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3bcad61fc6dfcc57bc6fe4afafabe831">operator&gt;&gt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;s, L4::Ipc::Internal::Buf_in&lt; T &gt; const &amp;v)</td></tr>
<tr class="memdesc:a3bcad61fc6dfcc57bc6fe4afafabe831"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract an array of <span class="tt">T</span> elements from the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:acae581e2444ca424076b52497666535b" id="r_acae581e2444ca424076b52497666535b"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:acae581e2444ca424076b52497666535b template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acae581e2444ca424076b52497666535b">operator&gt;&gt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;s, <a class="el" href="classL4_1_1Ipc_1_1Msg__ptr.html">L4::Ipc::Msg_ptr</a>&lt; T &gt; const &amp;v)</td></tr>
<tr class="memdesc:acae581e2444ca424076b52497666535b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract an element of type <span class="tt">T</span> from the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:a53ae87ffdd0c79ecf6b74210419475db" id="r_a53ae87ffdd0c79ecf6b74210419475db"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a53ae87ffdd0c79ecf6b74210419475db template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a53ae87ffdd0c79ecf6b74210419475db">operator&gt;&gt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;s, L4::Ipc::Internal::Buf_cp_in&lt; T &gt; const &amp;v)</td></tr>
<tr class="memdesc:a53ae87ffdd0c79ecf6b74210419475db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract an array of <span class="tt">T</span> elements from the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:a912d9d789e4d6c608d97d9def1302033" id="r_a912d9d789e4d6c608d97d9def1302033"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a912d9d789e4d6c608d97d9def1302033 template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a912d9d789e4d6c608d97d9def1302033">operator&gt;&gt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;s, <a class="el" href="classL4_1_1Ipc_1_1Str__cp__in.html">L4::Ipc::Str_cp_in</a>&lt; T &gt; const &amp;v)</td></tr>
<tr class="memdesc:a912d9d789e4d6c608d97d9def1302033"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extract a zero-terminated string from the stream. <br /></td></tr>
<tr class="memitem:a368b2760283dc1aa10eecba178bd192f" id="r_a368b2760283dc1aa10eecba178bd192f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a368b2760283dc1aa10eecba178bd192f">operator&lt;&lt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;s, bool v)</td></tr>
<tr class="memdesc:a368b2760283dc1aa10eecba178bd192f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert an element to type <span class="tt">T</span> into the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:a2818054bb7ca081d014f7f81706fbfce" id="r_a2818054bb7ca081d014f7f81706fbfce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2818054bb7ca081d014f7f81706fbfce">operator&lt;&lt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;s, <a class="el" href="structl4__msgtag__t.html">l4_msgtag_t</a> const &amp;v)</td></tr>
<tr class="memdesc:a2818054bb7ca081d014f7f81706fbfce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert the <a class="el" href="namespaceL4.html" title="L4 low-level kernel interface.">L4</a> message tag into the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:a078a06f5ecddff6e7a94386d3e9c3ece" id="r_a078a06f5ecddff6e7a94386d3e9c3ece"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:a078a06f5ecddff6e7a94386d3e9c3ece template"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a078a06f5ecddff6e7a94386d3e9c3ece">operator&lt;&lt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;s, L4::Ipc::Internal::Buf_cp_out&lt; T &gt; const &amp;v)</td></tr>
<tr class="memdesc:a078a06f5ecddff6e7a94386d3e9c3ece"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert an array with elements of type <span class="tt">T</span> into the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:a2f4df865a76488b2f249dfe2959bffc4" id="r_a2f4df865a76488b2f249dfe2959bffc4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2f4df865a76488b2f249dfe2959bffc4">operator&lt;&lt;</a> (<a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;s, char const *v)</td></tr>
<tr class="memdesc:a2f4df865a76488b2f249dfe2959bffc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert a zero terminated character string into the stream <span class="tt">s</span>. <br /></td></tr>
<tr class="memitem:acc2cd40991fdf32a8259649933609fd1" id="r_acc2cd40991fdf32a8259649933609fd1"><td class="memTemplParams" colspan="2">template&lt;typename T&gt; </td></tr>
<tr class="memitem:acc2cd40991fdf32a8259649933609fd1 template"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceL4_1_1Ipc.html#acc2cd40991fdf32a8259649933609fd1">L4::Ipc::read</a> (<a class="el" href="classL4_1_1Ipc_1_1Istream.html">Istream</a> &amp;s)</td></tr>
<tr class="memdesc:acc2cd40991fdf32a8259649933609fd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a value out of a stream. <br /></td></tr>
</table>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>IPC stream. </p>
<p class="definition">Definition in file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="a368b2760283dc1aa10eecba178bd192f" name="a368b2760283dc1aa10eecba178bd192f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a368b2760283dc1aa10eecba178bd192f">&#9670;&#160;</a></span>operator&lt;&lt;() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp; operator&lt;&lt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert an element to type <span class="tt">T</span> into the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The stream to insert the element <span class="tt">v</span>. </td></tr>
<tr><td class="paramname">v</td><td>The element to insert.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>. </dd></dl>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01197">1197</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00660">L4::Ipc::Ostream::put()</a>.</p>
<div id="dynsection-2" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a368b2760283dc1aa10eecba178bd192f_cgraph.svg" width="315" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="a2f4df865a76488b2f249dfe2959bffc4" name="a2f4df865a76488b2f249dfe2959bffc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f4df865a76488b2f249dfe2959bffc4">&#9670;&#160;</a></span>operator&lt;&lt;() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp; operator&lt;&lt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char const *</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert a zero terminated character string into the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The stream to insert the string <span class="tt">v</span>. </td></tr>
<tr><td class="paramname">v</td><td>The string to insert.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>.</dd></dl>
<p>This operator produces basically the same content as the array insertion, however the length of the array is calculated using <span class="tt">strlen(v) + 1</span> The string is copied into the message including the trailing zero. </p>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01269">1269</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00660">L4::Ipc::Ostream::put()</a>.</p>
<div id="dynsection-3" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a2f4df865a76488b2f249dfe2959bffc4_cgraph.svg" width="315" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="a078a06f5ecddff6e7a94386d3e9c3ece" name="a078a06f5ecddff6e7a94386d3e9c3ece"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a078a06f5ecddff6e7a94386d3e9c3ece">&#9670;&#160;</a></span>operator&lt;&lt;() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp; operator&lt;&lt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">L4::Ipc::Internal::Buf_cp_out&lt; T &gt; const &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert an array with elements of type <span class="tt">T</span> into the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The stream to insert the array <span class="tt">v</span>. </td></tr>
<tr><td class="paramname">v</td><td>The array to insert (see Ipc::Buf_cp_out()).</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>. </dd></dl>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01248">1248</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00660">L4::Ipc::Ostream::put()</a>.</p>
<div id="dynsection-4" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a078a06f5ecddff6e7a94386d3e9c3ece_cgraph.svg" width="315" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="a2818054bb7ca081d014f7f81706fbfce" name="a2818054bb7ca081d014f7f81706fbfce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2818054bb7ca081d014f7f81706fbfce">&#9670;&#160;</a></span>operator&lt;&lt;() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp; operator&lt;&lt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Ostream.html">L4::Ipc::Ostream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structl4__msgtag__t.html">l4_msgtag_t</a> const &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert the <a class="el" href="namespaceL4.html" title="L4 low-level kernel interface.">L4</a> message tag into the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">s</td><td>The stream to insert the tag <span class="tt">v</span>. </td></tr>
<tr><td class="paramname">v</td><td>The <a class="el" href="namespaceL4.html" title="L4 low-level kernel interface.">L4</a> message tag to insert.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Only one message tag can be inserted into a stream. Multiple insertions simply overwrite previous insertions. </dd></dl>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01232">1232</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00706">L4::Ipc::Ostream::tag()</a>.</p>
<div id="dynsection-5" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a2818054bb7ca081d014f7f81706fbfce_cgraph.svg" width="315" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="ace3d2ecfa7716243dbecdcfc52d733d0" name="ace3d2ecfa7716243dbecdcfc52d733d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace3d2ecfa7716243dbecdcfc52d733d0">&#9670;&#160;</a></span>operator&gt;&gt;() <span class="overload">[1/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp; operator&gt;&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Extract one element of type <span class="tt">T</span> from the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">s</td><td>The stream to extract from. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>Extracted value.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>. </dd></dl>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01044">1044</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00394">L4::Ipc::Istream::get()</a>.</p>
<div id="dynsection-6" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_ace3d2ecfa7716243dbecdcfc52d733d0_cgraph.svg" width="551" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="a53ae87ffdd0c79ecf6b74210419475db" name="a53ae87ffdd0c79ecf6b74210419475db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53ae87ffdd0c79ecf6b74210419475db">&#9670;&#160;</a></span>operator&gt;&gt;() <span class="overload">[2/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp; operator&gt;&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">L4::Ipc::Internal::Buf_cp_in&lt; T &gt; const &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Extract an array of <span class="tt">T</span> elements from the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">s</td><td>The stream to extract from. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">v</td><td><a class="el" href="structBuffer.html" title="Data buffer used to transfer packets.">Buffer</a> description to copy the array to (Ipc::Buf_cp_out()).</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>.</dd></dl>
<p>This operator does a copy out of the data into the given buffer.</p>
<p>See Ipc::Buf_in, Ipc::Buf_cp_in, and Ipc::Buf_cp_out. </p>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01151">1151</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00394">L4::Ipc::Istream::get()</a>.</p>
<div id="dynsection-7" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-7-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-7-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a53ae87ffdd0c79ecf6b74210419475db_cgraph.svg" width="551" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="a3bcad61fc6dfcc57bc6fe4afafabe831" name="a3bcad61fc6dfcc57bc6fe4afafabe831"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bcad61fc6dfcc57bc6fe4afafabe831">&#9670;&#160;</a></span>operator&gt;&gt;() <span class="overload">[3/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp; operator&gt;&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">L4::Ipc::Internal::Buf_in&lt; T &gt; const &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Extract an array of <span class="tt">T</span> elements from the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">s</td><td>The stream to extract from. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>Pointer to the extracted array (ipc_buf_in()).</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>.</dd></dl>
<p>This operator actually does not copy out the data in the array, but returns a pointer into the message buffer itself. This means that the data is only valid as long as there is no new data inserted into the stream.</p>
<dl class="section note"><dt>Note</dt><dd>If array does not fit into transmitted words size will be set to zero. Client has to implement check against zero.</dd></dl>
<p>See Ipc::Buf_in, Ipc::Buf_cp_in, and Ipc::Buf_cp_out. </p>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01103">1103</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00394">L4::Ipc::Istream::get()</a>, and <a class="el" href="ipc__stream_source.html#l00369">L4::Ipc::Istream::has_more()</a>.</p>
<div id="dynsection-8" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-8-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-8-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a3bcad61fc6dfcc57bc6fe4afafabe831_cgraph.svg" width="551" height="62"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="acae581e2444ca424076b52497666535b" name="acae581e2444ca424076b52497666535b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acae581e2444ca424076b52497666535b">&#9670;&#160;</a></span>operator&gt;&gt;() <span class="overload">[4/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp; operator&gt;&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Msg__ptr.html">L4::Ipc::Msg_ptr</a>&lt; T &gt; const &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Extract an element of type <span class="tt">T</span> from the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">s</td><td>The stream to extract from. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>Pointer to the extracted element.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>.</dd></dl>
<p>This operator actually does not copy out the data, but returns a pointer into the message buffer itself. This means that the data is only valid as long as there is no new data inserted into the stream.</p>
<p>See Msg_ptr. </p>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01130">1130</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00394">L4::Ipc::Istream::get()</a>.</p>
<div id="dynsection-9" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-9-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-9-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_acae581e2444ca424076b52497666535b_cgraph.svg" width="551" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="a912d9d789e4d6c608d97d9def1302033" name="a912d9d789e4d6c608d97d9def1302033"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a912d9d789e4d6c608d97d9def1302033">&#9670;&#160;</a></span>operator&gt;&gt;() <span class="overload">[5/6]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp; operator&gt;&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Str__cp__in.html">L4::Ipc::Str_cp_in</a>&lt; T &gt; const &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Extract a zero-terminated string from the stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">s</td><td>The stream to extract from. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">v</td><td><a class="el" href="structBuffer.html" title="Data buffer used to transfer packets.">Buffer</a> description to copy the array to (Ipc::Str_cp_out()).</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>.</dd></dl>
<p>This operator does a copy out of the data into the given buffer. </p>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01172">1172</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00394">L4::Ipc::Istream::get()</a>.</p>
<div id="dynsection-10" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-10-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-10-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a912d9d789e4d6c608d97d9def1302033_cgraph.svg" width="551" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
<a id="a6504e271fab6d63fc78f0eeb512316bd" name="a6504e271fab6d63fc78f0eeb512316bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6504e271fab6d63fc78f0eeb512316bd">&#9670;&#160;</a></span>operator&gt;&gt;() <span class="overload">[6/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp; operator&gt;&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classL4_1_1Ipc_1_1Istream.html">L4::Ipc::Istream</a> &amp;</td> <td class="paramname"><span class="paramname"><em>s</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structl4__msgtag__t.html">l4_msgtag_t</a> &amp;</td> <td class="paramname"><span class="paramname"><em>v</em></span>&#160;)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel inline">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Extract the <a class="el" href="namespaceL4.html" title="L4 low-level kernel interface.">L4</a> message tag from the stream <span class="tt">s</span>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir"></td><td class="paramname">s</td><td>The stream to extract from. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>The extracted tag.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The stream <span class="tt">s</span>. </dd></dl>
<p class="definition">Definition at line <a class="el" href="ipc__stream_source.html#l01078">1078</a> of file <a class="el" href="ipc__stream_source.html">ipc_stream</a>.</p>
<p class="reference">References <a class="el" href="ipc__stream_source.html#l00505">L4::Ipc::Istream::tag()</a>.</p>
<div id="dynsection-11" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"><span class="dynarrow"><span class="arrowhead closed"></span></span>Here is the call graph for this function:</div>
<div id="dynsection-11-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-11-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" loading="lazy" frameborder="0" src="ipc__stream_a6504e271fab6d63fc78f0eeb512316bd_cgraph.svg" width="308" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- HTML footer for doxygen 1.9.1-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>l4</b></li><li class="navelem"><b>cxx</b></li><li class="navelem"><a href="ipc__stream.html">ipc_stream</a></li>
<li class="footer">Generated on <span class="timestamp"></span> for L4Re Operating System Framework by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.15.0 </li>
</ul>
</div>
</body>
</html>