PdComm_8h-source.html
PdComm.h
00001 /************************************************************* 00002 * 00003 * IAEM-iARS project 00004 * 00005 * File: PdComm.h 00006 * 00007 * Description: Declaration of the Pd Comm class 00008 * 00009 * Created: 20.3.2003 00010 * Author: Christopher Frauenberger (frauenberger@iem.at) 00011 * Version: $Id: PdComm.h,v 1.9 2004/10/12 14:12:47 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 _PDCOMM_H_ 00035 #define _PDCOMM_H_ 00036 00037 00038 #include "iARS.h" 00039 #include "iARSConfig.h" 00040 00041 #include "XmlRpc.h" 00042 #include <qobject.h> 00043 00045 00049 class PdComm : QObject { 00050 00051 public: 00052 00054 PdComm(); 00055 00057 ~PdComm(); 00058 00059 signals: 00061 int dataEvent(int); 00062 00063 00064 public: 00065 00067 int loadPatch(XmlRpc::XmlRpcValue *); 00068 00070 int setValue(const char*, XmlRpc::XmlRpcValue *); 00071 00073 int getValue(const char*, XmlRpc::XmlRpcValue *); 00074 00076 int bindSymbol(const char*); 00077 00079 int unbindSymbol(const char*); 00080 00082 bool isConnected(); 00083 00084 private: 00085 00087 QString host; 00088 00090 int port; 00091 00093 XmlRpc::XmlRpcClient *c; 00094 }; 00095 00096 00097 #endif
Generated on Thu Nov 25 15:57:06 2004 for iARS(internetAudioRenderingSystem) by 1.3.9.1