blob: 2a5b4f707275619eee284715ea4414923bba5ae0 [file] [log] [blame]
{{+bindTo:partials.standard_nacl_api}}
<h1>pp::internal::CompletionCallbackWithOutputBase&lt; T, Traits &gt; Class Template Reference</h1>
<div id="doxygen-ref">
{{- dummy div to appease doxygen -}}
<div>
<!-- Generated by Doxygen 1.7.6.1 -->
</div>
<!--header-->
<div class="contents">
<!-- doxytag: class="pp::internal::CompletionCallbackWithOutputBase" --><!-- doxytag: inherits="pp::CompletionCallback" --><div class="dynheader">
Inheritance diagram for pp::internal::CompletionCallbackWithOutputBase&lt; T, Traits &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classpp_1_1internal_1_1_completion_callback_with_output_base__inherit__graph.png" border="0" usemap="#pp_1_1internal_1_1_completion_callback_with_output_base_3_01_t_00_01_traits_01_4_inherit__map" alt="Inheritance graph" /></div>
<map name="pp_1_1internal_1_1_completion_callback_with_output_base_3_01_t_00_01_traits_01_4_inherit__map" id="pp_1_1internal_1_1_completion_callback_with_output_base_3_01_t_00_01_traits_01_4_inherit__map">
<area shape="rect" id="node2" href="classpp_1_1_completion_callback.html" title="This API enables you to implement and receive callbacks when Pepper operations complete asynchronousl..." alt="" coords="124,5,295,35"></area></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classpp_1_1internal_1_1_completion_callback_with_output_base-members.html">List of all members.</a></p>
<h2>
Public Types</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">typedef Traits::StorageType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef Traits::APIArgType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a90888e6422225fb8e3d310c6ee51ac04">APIArgType</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef Traits&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6dea62f34b316631f576d61959693775">TraitsType</a></td></tr>
</table><h2>
Public Member Functions</h2><table class="memberdecls">
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a12536d4027ba401e4009404eeeaeeb97">CompletionCallbackWithOutputBase</a> (<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a> *<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a23ceea58754e1d1b6570a268f6b669b8">output</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a00d091474d398b2b3a14c2dbe05b74a2">CompletionCallbackWithOutputBase</a> (PP_CompletionCallback_Func func, void *user_data, <a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a> *<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a23ceea58754e1d1b6570a268f6b669b8">output</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a19a3960c8990f8000a34062cc4534098">CompletionCallbackWithOutputBase</a> (PP_CompletionCallback_Func func, void *user_data, int32_t <a class="el" href="classpp_1_1_completion_callback.html#a60e466572fe7de362969dd41179c971f">flags</a>, <a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a> *<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a23ceea58754e1d1b6570a268f6b669b8">output</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a90888e6422225fb8e3d310c6ee51ac04">APIArgType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a23ceea58754e1d1b6570a268f6b669b8">output</a> () const </td></tr>
</table>
<hr /><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T, typename Traits&gt;<br />
class pp::internal::CompletionCallbackWithOutputBase&lt; T, Traits &gt;</h3>
<p>The base class of [Ext]<a class="el" href="classpp_1_1_completion_callback_with_output.html" title="A CompletionCallbackWithOutput defines a completion callback that additionally stores a pointer to so...">CompletionCallbackWithOutput</a>. </p>
<p>The template parameter Traits determines the storage type (OutputStorageType), the output parameter type used by the browser (APIArgType), and how to map OutputStorageType to APIArgType. </p>
</div><hr /><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a90888e6422225fb8e3d310c6ee51ac04"></a><!-- doxytag: member="pp::internal::CompletionCallbackWithOutputBase::APIArgType" ref="a90888e6422225fb8e3d310c6ee51ac04" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Traits&gt; </div>
<table class="memname">
<tr>
<td class="memname">typedef Traits::APIArgType <a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">pp::internal::CompletionCallbackWithOutputBase</a>&lt; T, Traits &gt;::<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a90888e6422225fb8e3d310c6ee51ac04">APIArgType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a6b6f033dd376edc4507951d82bd1ea18"></a><!-- doxytag: member="pp::internal::CompletionCallbackWithOutputBase::OutputStorageType" ref="a6b6f033dd376edc4507951d82bd1ea18" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Traits&gt; </div>
<table class="memname">
<tr>
<td class="memname">typedef Traits::StorageType <a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">pp::internal::CompletionCallbackWithOutputBase</a>&lt; T, Traits &gt;::<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a6dea62f34b316631f576d61959693775"></a><!-- doxytag: member="pp::internal::CompletionCallbackWithOutputBase::TraitsType" ref="a6dea62f34b316631f576d61959693775" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Traits&gt; </div>
<table class="memname">
<tr>
<td class="memname">typedef Traits <a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">pp::internal::CompletionCallbackWithOutputBase</a>&lt; T, Traits &gt;::<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6dea62f34b316631f576d61959693775">TraitsType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr /><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a12536d4027ba401e4009404eeeaeeb97"></a><!-- doxytag: member="pp::internal::CompletionCallbackWithOutputBase::CompletionCallbackWithOutputBase" ref="a12536d4027ba401e4009404eeeaeeb97" args="(OutputStorageType *output)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Traits&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">pp::internal::CompletionCallbackWithOutputBase</a>&lt; T, Traits &gt;::<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">CompletionCallbackWithOutputBase</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a> *&#160;</td>
<td class="paramname"><em>output</em></td><td>)</td>
<td><code> [inline, explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a00d091474d398b2b3a14c2dbe05b74a2"></a><!-- doxytag: member="pp::internal::CompletionCallbackWithOutputBase::CompletionCallbackWithOutputBase" ref="a00d091474d398b2b3a14c2dbe05b74a2" args="(PP_CompletionCallback_Func func, void *user_data, OutputStorageType *output)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Traits&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">pp::internal::CompletionCallbackWithOutputBase</a>&lt; T, Traits &gt;::<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">CompletionCallbackWithOutputBase</a> </td>
<td>(</td>
<td class="paramtype">PP_CompletionCallback_Func&#160;</td>
<td class="paramname"><em>func</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>user_data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a> *&#160;</td>
<td class="paramname"><em>output</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a19a3960c8990f8000a34062cc4534098"></a><!-- doxytag: member="pp::internal::CompletionCallbackWithOutputBase::CompletionCallbackWithOutputBase" ref="a19a3960c8990f8000a34062cc4534098" args="(PP_CompletionCallback_Func func, void *user_data, int32_t flags, OutputStorageType *output)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Traits&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">pp::internal::CompletionCallbackWithOutputBase</a>&lt; T, Traits &gt;::<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">CompletionCallbackWithOutputBase</a> </td>
<td>(</td>
<td class="paramtype">PP_CompletionCallback_Func&#160;</td>
<td class="paramname"><em>func</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>user_data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>flags</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a6b6f033dd376edc4507951d82bd1ea18">OutputStorageType</a> *&#160;</td>
<td class="paramname"><em>output</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr /><h2>Member Function Documentation</h2>
<a class="anchor" id="a23ceea58754e1d1b6570a268f6b669b8"></a><!-- doxytag: member="pp::internal::CompletionCallbackWithOutputBase::output" ref="a23ceea58754e1d1b6570a268f6b669b8" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Traits&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a90888e6422225fb8e3d310c6ee51ac04">APIArgType</a> <a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html">pp::internal::CompletionCallbackWithOutputBase</a>&lt; T, Traits &gt;::<a class="el" href="classpp_1_1internal_1_1_completion_callback_with_output_base.html#a23ceea58754e1d1b6570a268f6b669b8">output</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr />The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="completion__callback_8h.html">completion_callback.h</a></li>
</ul>
</div><!-- contents -->
</div>
{{/partials.standard_nacl_api}}