iARSControlElement_8h-source.html

iARSControlElement.h

00001 /*************************************************************
00002  *
00003  *    IAEM-iARS project
00004  *
00005  * File: iARSControlElement.h
00006  *
00007  * Description: Include file for iARSControlElement
00008  *
00009  * Created: 24.3.2003
00010  * Author: Christopher Frauenberger (frauenberger@iem.at)
00011  * Version: $Id: iARSControlElement.h,v 1.8 2004/04/27 14:39:01 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 _IARSCONTROLELEMENT_H_
00035 #define _IARSCONTROLELEMENT_H_
00036 
00037 #include "iARS.h"
00038 #include <qwidget.h>
00039 #include "XmlRpc.h"
00040 
00042 
00044 class iARSControlElement : public QWidget {
00045 
00046   Q_OBJECT
00047 
00048  protected:
00049 
00050   XmlRpc::XmlRpcValue value;
00051 
00053   QString binding;
00054 
00055   
00056  public:
00057 
00059   iARSControlElement () : QWidget() {}
00060 
00062   iARSControlElement(QWidget *parent, QString name) : QWidget(parent,name) {}
00063 
00065   QString getBinding() { return binding; }
00066 
00068   XmlRpc::XmlRpcValue getValue() {return value;}
00069 
00071   virtual void setValue(XmlRpc::XmlRpcValue) = 0;
00072 
00073  signals:
00075   void valueChanged(QString, XmlRpc::XmlRpcValue);
00076 
00077 };
00078 
00079 
00080 #endif

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