mirror of
https://github.com/thestk/stk
synced 2026-04-22 07:26:54 +00:00
Release 4.1.2 tarball
This commit is contained in:
committed by
Stephen Sinclair
parent
d12ef806ac
commit
5d63b50e85
@@ -5,64 +5,64 @@
|
||||
</HEAD>
|
||||
<BODY BGCOLOR="#FFFFFF">
|
||||
<CENTER>
|
||||
<img src="princeton.gif"> <img src="ccrma.gif"><P>
|
||||
<img src="princeton.gif"> <img src="ccrma.gif"> <img src="mcgill.gif"><P>
|
||||
<a class="qindex" href="index.html">Home</a> <a class="qindex" href="information.html">Information</a> <a class="qindex" href="classes.html">Classes</a> <a class="qindex" href="download.html">Download</a> <a class="qindex" href="usage.html">Usage</a> <a class="qindex" href="maillist.html">Mail List</a> <a class="qindex" href="system.html">Requirements</a> <a class="qindex" href="links.html">Links</a> <a class="qindex" href="tutorial.html">Tutorial</a></CENTER>
|
||||
<HR>
|
||||
<!-- Generated by Doxygen 1.2.8.1 -->
|
||||
<h1>TcpWvOut.h</h1><div class="fragment"><pre>00001 <font class="comment">/***************************************************/</font>
|
||||
00026 <font class="comment">/***************************************************/</font>
|
||||
<!-- Generated by Doxygen 1.3.6 -->
|
||||
<h1>TcpWvOut.h</h1><div class="fragment"><pre>00001 <span class="comment">/***************************************************/</span>
|
||||
00026 <span class="comment">/***************************************************/</span>
|
||||
00027
|
||||
00028 <font class="preprocessor">#if !defined(__TCPWVOUT_H)</font>
|
||||
00029 <font class="preprocessor"></font><font class="preprocessor">#define __TCPWVOUT_H</font>
|
||||
00030 <font class="preprocessor"></font>
|
||||
00031 <font class="preprocessor">#include "WvOut.h"</font>
|
||||
00032 <font class="preprocessor">#include "Socket.h"</font>
|
||||
00028 <span class="preprocessor">#if !defined(__TCPWVOUT_H)</span>
|
||||
00029 <span class="preprocessor"></span><span class="preprocessor">#define __TCPWVOUT_H</span>
|
||||
00030 <span class="preprocessor"></span>
|
||||
00031 <span class="preprocessor">#include "WvOut.h"</span>
|
||||
00032 <span class="preprocessor">#include "Socket.h"</span>
|
||||
00033
|
||||
00034 <font class="keyword">class </font><a class="code" href="classTcpWvOut.html">TcpWvOut</a> : <font class="keyword">protected</font> <a class="code" href="classWvOut.html">WvOut</a>
|
||||
<a name="l00034"></a><a class="code" href="classTcpWvOut.html">00034</a> <span class="keyword">class </span><a class="code" href="classTcpWvOut.html">TcpWvOut</a> : <span class="keyword">protected</span> <a class="code" href="classWvOut.html">WvOut</a>
|
||||
00035 {
|
||||
00036 <font class="keyword">public</font>:
|
||||
00036 <span class="keyword">public</span>:
|
||||
00038 <a class="code" href="classTcpWvOut.html#a0">TcpWvOut</a>();
|
||||
00039
|
||||
00041
|
||||
00044 <a class="code" href="classTcpWvOut.html#a0">TcpWvOut</a>(<font class="keywordtype">int</font> port, <font class="keyword">const</font> <font class="keywordtype">char</font> *hostname = <font class="stringliteral">"localhost"</font>, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1, Stk::STK_FORMAT format = STK_SINT16);
|
||||
00044 <a class="code" href="classTcpWvOut.html#a0">TcpWvOut</a>(<span class="keywordtype">int</span> port, <span class="keyword">const</span> <span class="keywordtype">char</span> *hostname = <span class="stringliteral">"localhost"</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nChannels = 1, Stk::STK_FORMAT format = STK_SINT16);
|
||||
00045
|
||||
00047 <a class="code" href="classTcpWvOut.html#a2">~TcpWvOut</a>();
|
||||
00048
|
||||
00050
|
||||
00053 <font class="keywordtype">void</font> <a class="code" href="classTcpWvOut.html#a3">connect</a>(<font class="keywordtype">int</font> port, <font class="keyword">const</font> <font class="keywordtype">char</font> *hostname = <font class="stringliteral">"localhost"</font>, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> nChannels = 1, Stk::STK_FORMAT format = STK_SINT16);
|
||||
00053 <span class="keywordtype">void</span> <a class="code" href="classTcpWvOut.html#a3">connect</a>(<span class="keywordtype">int</span> port, <span class="keyword">const</span> <span class="keywordtype">char</span> *hostname = <span class="stringliteral">"localhost"</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nChannels = 1, Stk::STK_FORMAT format = STK_SINT16);
|
||||
00054
|
||||
00056 <font class="keywordtype">void</font> <a class="code" href="classTcpWvOut.html#a4">disconnect</a>(<font class="keywordtype">void</font>);
|
||||
00056 <span class="keywordtype">void</span> <a class="code" href="classTcpWvOut.html#a4">disconnect</a>(<span class="keywordtype">void</span>);
|
||||
00057
|
||||
00059 <font class="keywordtype">unsigned</font> <font class="keywordtype">long</font> <a class="code" href="classWvOut.html#a5">getFrames</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00059 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="classTcpWvOut.html#a5">getFrames</a>( <span class="keywordtype">void</span> ) <span class="keyword">const</span>;
|
||||
00060
|
||||
00062 MY_FLOAT <a class="code" href="classWvOut.html#a6">getTime</a>( <font class="keywordtype">void</font> ) <font class="keyword">const</font>;
|
||||
00062 MY_FLOAT <a class="code" href="classTcpWvOut.html#a6">getTime</a>( <span class="keywordtype">void</span> ) <span class="keyword">const</span>;
|
||||
00063
|
||||
00065
|
||||
00068 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(MY_FLOAT sample);
|
||||
00068 <span class="keywordtype">void</span> <a class="code" href="classTcpWvOut.html#a7">tick</a>(MY_FLOAT sample);
|
||||
00069
|
||||
00071
|
||||
00074 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a7">tick</a>(<font class="keyword">const</font> MY_FLOAT *vector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> vectorSize);
|
||||
00074 <span class="keywordtype">void</span> <a class="code" href="classTcpWvOut.html#a7">tick</a>(<span class="keyword">const</span> MY_FLOAT *vector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> vectorSize);
|
||||
00075
|
||||
00077
|
||||
00080 <font class="keywordtype">void</font> <a class="code" href="classWvOut.html#a9">tickFrame</a>(<font class="keyword">const</font> MY_FLOAT *frameVector, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> frames = 1);
|
||||
00080 <span class="keywordtype">void</span> <a class="code" href="classTcpWvOut.html#a9">tickFrame</a>(<span class="keyword">const</span> MY_FLOAT *frameVector, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> frames = 1);
|
||||
00081
|
||||
00082 <font class="keyword">protected</font>:
|
||||
00082 <span class="keyword">protected</span>:
|
||||
00083
|
||||
00084 <font class="comment">// Write a buffer of length \e frames via the socket connection.</font>
|
||||
00085 <font class="keywordtype">void</font> writeData( <font class="keywordtype">long</font> frames );
|
||||
00084 <span class="comment">// Write a buffer of length \e frames via the socket connection.</span>
|
||||
00085 <span class="keywordtype">void</span> writeData( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> frames );
|
||||
00086
|
||||
00087 <font class="keywordtype">char</font> msg[256];
|
||||
00088 <font class="keywordtype">char</font> *buffer;
|
||||
00087 <span class="keywordtype">char</span> msg[256];
|
||||
00088 <span class="keywordtype">char</span> *buffer;
|
||||
00089 <a class="code" href="classSocket.html">Socket</a> *soket;
|
||||
00090 <font class="keywordtype">int</font> dataSize;
|
||||
00090 <span class="keywordtype">int</span> dataSize;
|
||||
00091 };
|
||||
00092
|
||||
00093 <font class="preprocessor">#endif // defined(__TCPWVOUT_H)</font>
|
||||
</font></pre></div><HR>
|
||||
00093 <span class="preprocessor">#endif // defined(__TCPWVOUT_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>©1995-2002 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
<tr><td>©1995-2004 Perry R. Cook and Gary P. Scavone. All Rights Reserved.</td></tr>
|
||||
</table>
|
||||
|
||||
</BODY>
|
||||
|
||||
Reference in New Issue
Block a user