Mercurial > hg > vamp-website
diff code-doc/PluginChannelAdapter_8h-source.html @ 21:cc0be37dc9d3 website
* Updates for 2.0
author | cannam |
---|---|
date | Tue, 09 Dec 2008 11:02:57 +0000 |
parents | 351c4ebce5f9 |
children | 0976232e353b |
line wrap: on
line diff
--- a/code-doc/PluginChannelAdapter_8h-source.html Mon Nov 24 15:17:08 2008 +0000 +++ b/code-doc/PluginChannelAdapter_8h-source.html Tue Dec 09 11:02:57 2008 +0000 @@ -4,7 +4,7 @@ <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> -<!-- Generated by Doxygen 1.5.5 --> +<!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> @@ -15,10 +15,10 @@ <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> - <div class="navpath"><a class="el" href="dir_5b77fce4b90561041d958141b45c7c55.html">vamp-sdk</a> » <a class="el" href="dir_fa454903fff8cd477733ebe28a3468c0.html">hostext</a> + <div class="navpath"><a class="el" href="dir_4571ebff077265f6d30f5427df02fcd6.html">vamp-hostsdk</a> </div> </div> -</div> +<div class="contents"> <h1>PluginChannelAdapter.h</h1><a href="PluginChannelAdapter_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */</span> <a name="l00002"></a>00002 <a name="l00003"></a>00003 <span class="comment">/*</span> @@ -58,35 +58,42 @@ <a name="l00037"></a>00037 <span class="preprocessor">#ifndef _VAMP_PLUGIN_CHANNEL_ADAPTER_H_</span> <a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define _VAMP_PLUGIN_CHANNEL_ADAPTER_H_</span> <a name="l00039"></a>00039 <span class="preprocessor"></span> -<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="PluginWrapper_8h.html">PluginWrapper.h</a>"</span> -<a name="l00041"></a>00041 -<a name="l00042"></a>00042 <span class="keyword">namespace </span>Vamp { -<a name="l00043"></a>00043 -<a name="l00044"></a>00044 <span class="keyword">namespace </span>HostExt { -<a name="l00045"></a>00045 -<a name="l00109"></a><a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html">00109</a> <span class="keyword">class </span><a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> : <span class="keyword">public</span> <a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins.">PluginWrapper</a> -<a name="l00110"></a>00110 { -<a name="l00111"></a>00111 <span class="keyword">public</span>: -<a name="l00112"></a>00112 <a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#2cda2b672708264f9a33c43bad3acdd8">PluginChannelAdapter</a>(<a class="code" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction...">Plugin</a> *plugin); <span class="comment">// I take ownership of plugin</span> -<a name="l00113"></a>00113 <span class="keyword">virtual</span> <a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#7bd79ac5febc8d3c499e7339476c07b4">~PluginChannelAdapter</a>(); -<a name="l00114"></a>00114 -<a name="l00115"></a>00115 <span class="keywordtype">bool</span> <a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#de0473c8fc54636431967cbf41649c1c" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise</a>(<span class="keywordtype">size_t</span> channels, <span class="keywordtype">size_t</span> stepSize, <span class="keywordtype">size_t</span> blockSize); -<a name="l00116"></a>00116 -<a name="l00117"></a>00117 <a class="code" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> <a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#294e663b4d9ec885791faa1b440571ed" title="Process a single block of input data.">process</a>(<span class="keyword">const</span> <span class="keywordtype">float</span> *<span class="keyword">const</span> *inputBuffers, <a class="code" href="structVamp_1_1RealTime.html" title="RealTime represents time values to nanosecond precision with accurate arithmetic...">RealTime</a> timestamp); -<a name="l00118"></a>00118 -<a name="l00119"></a>00119 <span class="keyword">protected</span>: -<a name="l00120"></a><a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#e3a74a2e6c4cd33dce9f4248e73c6701">00120</a> <span class="keyword">class </span><a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter_1_1Impl.html">Impl</a>; -<a name="l00121"></a>00121 <a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter_1_1Impl.html">Impl</a> *<a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#e3a74a2e6c4cd33dce9f4248e73c6701">m_impl</a>; -<a name="l00122"></a>00122 }; -<a name="l00123"></a>00123 -<a name="l00124"></a>00124 } -<a name="l00125"></a>00125 -<a name="l00126"></a>00126 } -<a name="l00127"></a>00127 -<a name="l00128"></a>00128 <span class="preprocessor">#endif</span> +<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="hostguard_8h.html">hostguard.h</a>"</span> +<a name="l00041"></a>00041 <span class="preprocessor">#include "<a class="code" href="PluginWrapper_8h.html">PluginWrapper.h</a>"</span> +<a name="l00042"></a>00042 +<a name="l00043"></a>00043 <a class="code" href="hostguard_8h.html#ef42eae5f1b0b897d8dac58cd54afbcd">_VAMP_SDK_HOSTSPACE_BEGIN</a>(PluginChannelAdapter.h) +<a name="l00044"></a>00044 +<a name="l00045"></a>00045 namespace Vamp { +<a name="l00046"></a>00046 +<a name="l00047"></a>00047 <span class="keyword">namespace </span>HostExt { +<a name="l00048"></a>00048 +<a name="l00112"></a><a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html">00112</a> <span class="keyword">class </span><a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a> : <span class="keyword">public</span> <a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins.">PluginWrapper</a> +<a name="l00113"></a>00113 { +<a name="l00114"></a>00114 <span class="keyword">public</span>: +<a name="l00120"></a>00120 <a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a>(<a class="code" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction...">Plugin</a> *plugin); +<a name="l00121"></a>00121 <span class="keyword">virtual</span> ~<a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management...">PluginChannelAdapter</a>(); +<a name="l00122"></a>00122 +<a name="l00123"></a>00123 <span class="keywordtype">bool</span> initialise(<span class="keywordtype">size_t</span> channels, <span class="keywordtype">size_t</span> stepSize, <span class="keywordtype">size_t</span> blockSize); +<a name="l00124"></a>00124 +<a name="l00125"></a>00125 FeatureSet process(<span class="keyword">const</span> <span class="keywordtype">float</span> *<span class="keyword">const</span> *inputBuffers, <a class="code" href="structVamp_1_1RealTime.html" title="RealTime represents time values to nanosecond precision with accurate arithmetic...">RealTime</a> timestamp); +<a name="l00126"></a>00126 +<a name="l00136"></a>00136 FeatureSet processInterleaved(<span class="keyword">const</span> <span class="keywordtype">float</span> *inputBuffer, <a class="code" href="structVamp_1_1RealTime.html" title="RealTime represents time values to nanosecond precision with accurate arithmetic...">RealTime</a> timestamp); +<a name="l00137"></a>00137 +<a name="l00138"></a>00138 <span class="keyword">protected</span>: +<a name="l00139"></a><a class="code" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#e3a74a2e6c4cd33dce9f4248e73c6701">00139</a> <span class="keyword">class </span>Impl; +<a name="l00140"></a>00140 Impl *m_impl; +<a name="l00141"></a>00141 }; +<a name="l00142"></a>00142 +<a name="l00143"></a>00143 } +<a name="l00144"></a>00144 +<a name="l00145"></a>00145 } +<a name="l00146"></a>00146 +<a name="l00147"></a>00147 <a class="code" href="hostguard_8h.html#0e6efdc2909bdb0cfab70e087d91b171">_VAMP_SDK_HOSTSPACE_END</a>(PluginChannelAdapter.h) +<a name="l00148"></a>00148 +<a name="l00149"></a>00149 <span class="preprocessor">#endif</span> </pre></div></div> -<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 9 11:36:06 2008 for VampPluginSDK by +<hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by <a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> +<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>