mirror of
https://github.com/thestk/stk
synced 2026-01-15 14:01:52 +00:00
Release 4.2.0 tarball
This commit is contained in:
committed by
Stephen Sinclair
parent
fe20fe92a2
commit
de344668dd
@@ -12,39 +12,40 @@
|
||||
<h1>Table.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
||||
00015 <span class="comment">/***************************************************/</span>
|
||||
00016
|
||||
00017 <span class="preprocessor">#if !defined(__TABLE_H)</span>
|
||||
00018 <span class="preprocessor"></span><span class="preprocessor">#define __TABLE_H</span>
|
||||
00017 <span class="preprocessor">#ifndef STK_TABLE_H</span>
|
||||
00018 <span class="preprocessor"></span><span class="preprocessor">#define STK_TABLE_H</span>
|
||||
00019 <span class="preprocessor"></span>
|
||||
00020 <span class="preprocessor">#include "Stk.h"</span>
|
||||
00020 <span class="preprocessor">#include "Function.h"</span>
|
||||
00021
|
||||
<a name="l00022"></a><a class="code" href="classTable.html">00022</a> <span class="keyword">class </span><a class="code" href="classTable.html">Table</a> : <span class="keyword">public</span> <a class="code" href="classStk.html">Stk</a>
|
||||
<a name="l00022"></a><a class="code" href="classTable.html">00022</a> <span class="keyword">class </span><a class="code" href="classTable.html">Table</a> : <span class="keyword">public</span> <a class="code" href="classFunction.html">Function</a>
|
||||
00023 {
|
||||
00024 <span class="keyword">public</span>:
|
||||
00026 <a class="code" href="classTable.html#a0">Table</a>(<span class="keywordtype">char</span> *fileName);
|
||||
00027
|
||||
00029 <a class="code" href="classTable.html#a1">~Table</a>();
|
||||
00030
|
||||
00032 <span class="keywordtype">long</span> <a class="code" href="classTable.html#a2">getLength</a>() <span class="keyword">const</span>;
|
||||
00033
|
||||
00035 MY_FLOAT <a class="code" href="classTable.html#a3">lastOut</a>() <span class="keyword">const</span>;
|
||||
00036
|
||||
00038
|
||||
00042 MY_FLOAT <a class="code" href="classTable.html#a4">tick</a>(MY_FLOAT index);
|
||||
00043
|
||||
00045 MY_FLOAT *<a class="code" href="classTable.html#a4">tick</a>(MY_FLOAT *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize);
|
||||
00046
|
||||
00047 <span class="keyword">protected</span>:
|
||||
00048 <span class="keywordtype">long</span> length;
|
||||
00049 MY_FLOAT *data;
|
||||
00050 MY_FLOAT lastOutput;
|
||||
00051
|
||||
00052 };
|
||||
00053
|
||||
00054 <span class="preprocessor">#endif // defined(__TABLE_H)</span>
|
||||
00026
|
||||
00030 <a class="code" href="classTable.html#a0">Table</a>( std::string fileName );
|
||||
00031
|
||||
00033 <a class="code" href="classTable.html#a1">~Table</a>();
|
||||
00034
|
||||
00036 <span class="keywordtype">long</span> <a class="code" href="classTable.html#a2">getLength</a>() <span class="keyword">const</span>;
|
||||
00037
|
||||
00039
|
||||
00043 StkFloat <a class="code" href="classTable.html#a3">tick</a>(StkFloat index);
|
||||
00044
|
||||
00046 StkFloat *<a class="code" href="classTable.html#a3">tick</a>( StkFloat *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize );
|
||||
00047
|
||||
00049
|
||||
00055 <a class="code" href="classStkFrames.html">StkFrames</a>& <a class="code" href="classTable.html#a3">tick</a>( <a class="code" href="classStkFrames.html">StkFrames</a>& frames, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> channel = 1 );
|
||||
00056
|
||||
00057 <span class="keyword">protected</span>:
|
||||
00058 <span class="keywordtype">long</span> length_;
|
||||
00059 std::valarray<StkFloat> data_;
|
||||
00060
|
||||
00061 };
|
||||
00062
|
||||
00063 <span class="preprocessor">#endif // defined(__TABLE_H)</span>
|
||||
</pre></div><HR>
|
||||
|
||||
<table>
|
||||
<tr><td><A HREF="http://www-ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
|
||||
<tr><td><A HREF="http://ccrma.stanford.edu/software/stk/"><I>The Synthesis ToolKit in C++ (STK)</I></A></td></tr>
|
||||
<tr><td>©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user