Mercurial > hg > vamp-website
comparison code-doc/PluginWrapper_8h-source.html @ 35:0976232e353b website
* Update for 2.1 release; add wiki link
author | cannam |
---|---|
date | Fri, 25 Sep 2009 15:40:18 +0000 |
parents | cc0be37dc9d3 |
children |
comparison
equal
deleted
inserted
replaced
34:4b4db9230e94 | 35:0976232e353b |
---|---|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> | 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
3 <title>VampPluginSDK: PluginWrapper.h Source File</title> | 3 <title>VampPluginSDK: PluginWrapper.h Source File</title> |
4 <link href="tabs.css" rel="stylesheet" type="text/css"> | |
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> | 5 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
5 <link href="tabs.css" rel="stylesheet" type="text/css"> | |
6 </head><body> | 6 </head><body> |
7 <!-- Generated by Doxygen 1.5.6 --> | 7 <!-- Generated by Doxygen 1.5.8 --> |
8 <div class="navigation" id="top"> | 8 <div class="navigation" id="top"> |
9 <div class="tabs"> | 9 <div class="tabs"> |
10 <ul> | 10 <ul> |
11 <li><a href="main.html"><span>Main Page</span></a></li> | 11 <li><a href="main.html"><span>Main Page</span></a></li> |
12 <li><a href="namespaces.html"><span>Namespaces</span></a></li> | 12 <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
13 <li><a href="annotated.html"><span>Classes</span></a></li> | 13 <li><a href="annotated.html"><span>Classes</span></a></li> |
14 <li class="current"><a href="files.html"><span>Files</span></a></li> | 14 <li class="current"><a href="files.html"><span>Files</span></a></li> |
15 <li><a href="dirs.html"><span>Directories</span></a></li> | 15 <li><a href="dirs.html"><span>Directories</span></a></li> |
16 </ul> | |
17 </div> | |
18 <div class="tabs"> | |
19 <ul> | |
20 <li><a href="files.html"><span>File List</span></a></li> | |
21 <li><a href="globals.html"><span>File Members</span></a></li> | |
16 </ul> | 22 </ul> |
17 </div> | 23 </div> |
18 <div class="navpath"><a class="el" href="dir_4571ebff077265f6d30f5427df02fcd6.html">vamp-hostsdk</a> | 24 <div class="navpath"><a class="el" href="dir_4571ebff077265f6d30f5427df02fcd6.html">vamp-hostsdk</a> |
19 </div> | 25 </div> |
20 </div> | 26 </div> |
25 <a name="l00004"></a>00004 <span class="comment"> Vamp</span> | 31 <a name="l00004"></a>00004 <span class="comment"> Vamp</span> |
26 <a name="l00005"></a>00005 <span class="comment"></span> | 32 <a name="l00005"></a>00005 <span class="comment"></span> |
27 <a name="l00006"></a>00006 <span class="comment"> An API for audio analysis and feature extraction plugins.</span> | 33 <a name="l00006"></a>00006 <span class="comment"> An API for audio analysis and feature extraction plugins.</span> |
28 <a name="l00007"></a>00007 <span class="comment"></span> | 34 <a name="l00007"></a>00007 <span class="comment"></span> |
29 <a name="l00008"></a>00008 <span class="comment"> Centre for Digital Music, Queen Mary, University of London.</span> | 35 <a name="l00008"></a>00008 <span class="comment"> Centre for Digital Music, Queen Mary, University of London.</span> |
30 <a name="l00009"></a>00009 <span class="comment"> Copyright 2006-2007 Chris Cannam and QMUL.</span> | 36 <a name="l00009"></a>00009 <span class="comment"> Copyright 2006-2009 Chris Cannam and QMUL.</span> |
31 <a name="l00010"></a>00010 <span class="comment"> </span> | 37 <a name="l00010"></a>00010 <span class="comment"> </span> |
32 <a name="l00011"></a>00011 <span class="comment"> Permission is hereby granted, free of charge, to any person</span> | 38 <a name="l00011"></a>00011 <span class="comment"> Permission is hereby granted, free of charge, to any person</span> |
33 <a name="l00012"></a>00012 <span class="comment"> obtaining a copy of this software and associated documentation</span> | 39 <a name="l00012"></a>00012 <span class="comment"> obtaining a copy of this software and associated documentation</span> |
34 <a name="l00013"></a>00013 <span class="comment"> files (the "Software"), to deal in the Software without</span> | 40 <a name="l00013"></a>00013 <span class="comment"> files (the "Software"), to deal in the Software without</span> |
35 <a name="l00014"></a>00014 <span class="comment"> restriction, including without limitation the rights to use, copy,</span> | 41 <a name="l00014"></a>00014 <span class="comment"> restriction, including without limitation the rights to use, copy,</span> |
104 <a name="l00096"></a>00096 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); | 110 <a name="l00096"></a>00096 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); |
105 <a name="l00097"></a>00097 | 111 <a name="l00097"></a>00097 |
106 <a name="l00098"></a>00098 FeatureSet getRemainingFeatures(); | 112 <a name="l00098"></a>00098 FeatureSet getRemainingFeatures(); |
107 <a name="l00099"></a>00099 | 113 <a name="l00099"></a>00099 |
108 <a name="l00115"></a>00115 <span class="keyword">template</span> <<span class="keyword">typename</span> WrapperType> | 114 <a name="l00115"></a>00115 <span class="keyword">template</span> <<span class="keyword">typename</span> WrapperType> |
109 <a name="l00116"></a><a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html#e9d79bed7237d55a73018a6b982a55b3">00116</a> WrapperType *getWrapper() { | 115 <a name="l00116"></a><a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html#e9d79bed7237d55a73018a6b982a55b3">00116</a> WrapperType *<a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html#e9d79bed7237d55a73018a6b982a55b3" title="Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper&#39;s...">getWrapper</a>() { |
110 <a name="l00117"></a>00117 WrapperType *w = <span class="keyword">dynamic_cast<</span>WrapperType *<span class="keyword">></span>(<span class="keyword">this</span>); | 116 <a name="l00117"></a>00117 WrapperType *w = <span class="keyword">dynamic_cast<</span>WrapperType *<span class="keyword">></span>(<span class="keyword">this</span>); |
111 <a name="l00118"></a>00118 <span class="keywordflow">if</span> (w) <span class="keywordflow">return</span> w; | 117 <a name="l00118"></a>00118 <span class="keywordflow">if</span> (w) <span class="keywordflow">return</span> w; |
112 <a name="l00119"></a>00119 <a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins.">PluginWrapper</a> *pw = <span class="keyword">dynamic_cast<</span><a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins.">PluginWrapper</a> *<span class="keyword">></span>(m_plugin); | 118 <a name="l00119"></a>00119 <a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins.">PluginWrapper</a> *pw = <span class="keyword">dynamic_cast<</span><a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins.">PluginWrapper</a> *<span class="keyword">></span>(m_plugin); |
113 <a name="l00120"></a>00120 <span class="keywordflow">if</span> (pw) <span class="keywordflow">return</span> pw-><a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html#e9d79bed7237d55a73018a6b982a55b3" title="Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper&#39;s...">getWrapper</a><WrapperType>(); | 119 <a name="l00120"></a>00120 <span class="keywordflow">if</span> (pw) <span class="keywordflow">return</span> pw-><a class="code" href="classVamp_1_1HostExt_1_1PluginWrapper.html#e9d79bed7237d55a73018a6b982a55b3" title="Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper&#39;s...">getWrapper</a><WrapperType>(); |
114 <a name="l00121"></a>00121 <span class="keywordflow">return</span> 0; | 120 <a name="l00121"></a>00121 <span class="keywordflow">return</span> 0; |
125 <a name="l00132"></a>00132 | 131 <a name="l00132"></a>00132 |
126 <a name="l00133"></a>00133 <a class="code" href="hostguard_8h.html#0e6efdc2909bdb0cfab70e087d91b171">_VAMP_SDK_HOSTSPACE_END</a>(PluginWrapper.h) | 132 <a name="l00133"></a>00133 <a class="code" href="hostguard_8h.html#0e6efdc2909bdb0cfab70e087d91b171">_VAMP_SDK_HOSTSPACE_END</a>(PluginWrapper.h) |
127 <a name="l00134"></a>00134 | 133 <a name="l00134"></a>00134 |
128 <a name="l00135"></a>00135 <span class="preprocessor">#endif</span> | 134 <a name="l00135"></a>00135 <span class="preprocessor">#endif</span> |
129 </pre></div></div> | 135 </pre></div></div> |
130 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Dec 8 14:37:18 2008 for VampPluginSDK by | 136 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by |
131 <a href="http://www.doxygen.org/index.html"> | 137 <a href="http://www.doxygen.org/index.html"> |
132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> | 138 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
133 </body> | 139 </body> |
134 </html> | 140 </html> |