iARSPlugin_8h-source.html

iARSPlugin.h

00001 /*************************************************************
00002  *
00003  *    IAEM-iARS project
00004  *
00005  * File: iARS.h
00006  *
00007  * Description: Include file for iARSPlugin
00008  *
00009  * Created: 20.3.2003
00010  * Author: Christopher Frauenberger (frauenberger@iem.at)
00011  * Version: $Id: iARSPlugin.h,v 1.8 2004/10/15 09:50:18 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 
00035 #include "iARS.h"
00036 #include "iARSInstance.h"
00037 #include "iARSConfig.h"
00038 #include <qregexp.h>
00039 
00040 #ifdef WIN32
00041 #include <process.h>
00042 #endif 
00043 
00044 
00047 class iARSPlugin : public QNPlugin {
00048 
00049  public:
00050 
00052   iARSPlugin(void);
00053 
00055   ~iARSPlugin(void);
00056 
00058   QNPInstance* newInstance();
00059 
00061   const char* getMIMEDescription() const;
00062 
00064   const char * getPluginNameString() const;
00065 
00067   const char * getPluginDescriptionString() const;
00068 
00069  private:
00070   
00072   int startPd();
00073 
00075   void killAllPd();
00076 
00078 #ifdef UNIX
00079   pid_t pdpid;
00080 #elif WIN32
00081   PROCESS_INFORMATION pi;
00082 #endif
00083 };

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