iARSInstance_8h-source.html

iARSInstance.h

00001 /*************************************************************
00002  *
00003  *    IAEM-iARS project
00004  *
00005  * File: iARSInstance.h
00006  *
00007  * Description: Include file for iARSInstance
00008  *
00009  * Created: 20.3.2003
00010  * Author: Christopher Frauenberger (frauenberger@iem.at)
00011  * Version: $Id: iARSInstance.h,v 1.16 2004/08/30 12:00:34 frauenberger Exp $
00012  *
00013  * Copyright (C) IEM 2003, Christopher Frauenberger [frauenberger@iem.at]
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Lesser General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2.1 of the License, or (at your option) any later version.
00019  * 
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00023  * Lesser General Public License for more details.
00024  * 
00025  * You should have received a copy of the GNU Lesser General Public
00026  * License along with this library; if not, write to the Free Software
00027  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00028  *
00029  * IEM - Institute of Electronic Music and Acoustics, Graz
00030  * Inffeldgasse 10/3, 8010 Graz, Austria
00031  * http://iem.at 
00032  *************************************************************/
00033 
00034 #ifndef _IARSINSTANCE_H_
00035 #define _IARSINSTANCE_H_
00036 
00037 #include "iARS.h"
00038 #include "iARSWidget.h"
00039 #include "PdComm.h"
00040 #include <stdlib.h>
00041 #include <qbuffer.h>
00042 #include <zzip/zzip.h>
00043 
00044 
00045 
00047 
00051 class iARSInstance : public QNPInstance {
00052   Q_OBJECT
00053 
00054  public:
00056   iARSInstance::iARSInstance(void);
00057 
00059   iARSInstance::~iARSInstance(void);
00060 
00062   QNPWidget* newWindow();
00063 
00065   int write(QNPStream*, int, int, void*);
00066 
00067 #ifdef WIN32
00068 
00069   bool newStreamCreated(QNPStream*, StreamMode&); 
00070 #endif 
00071 
00072    private: 
00074   PdComm *pdcomm;
00075 
00077   XmlRpc::XmlRpcValue patch;
00078 
00080   QString streamURI;
00081   
00083   QString guiURI;
00084 
00086   QString patchURI;
00087 
00089   QString extrasURI;
00090 
00092   const char* pdhost;
00093   
00095   int pdport; 
00096 
00098   iARSWidget *widget;
00099 
00101   QString patchbuffer;
00102 
00104   QString guibuffer;
00105 
00107   bool patchIsReady;
00108 
00110   bool extrasAreReady;
00111 
00113   bool guiIsReady;
00114   
00115 };
00116 
00117 
00118 #endif
00119 
00120 
00121 

Generated on Thu Nov 25 15:57:06 2004 for iARS(internetAudioRenderingSystem) by  doxygen 1.3.9.1