Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

MClientControlOutputPort.h

00001 /*
00002 
00003     This file is part of la Marmite.
00004     Copyright (C) 2005 Nicolas Falquet.
00005 
00006     La Marmite is free software ; you can redistribute it and/or
00007     modify it under the terms of the GNU General Public License as
00008     published by the Free Software Foundation ; either version 2 of
00009     the License, or (at your option) any later version.
00010 
00011     La Marmite is distributed in the hope that it will be useful, but
00012     WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with la Marmite ; if not, write to the Free Software
00018     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00019     02111-1307  USA
00020 
00021 */
00022 
00023 #ifndef M_CLIENT_CONTROL_OUTPUT_PORT_H
00024 #define M_CLIENT_CONTROL_OUTPUT_PORT_H
00025 
00026 #include "MClientPort.h"
00027 #include "MControlOutputPort.h"
00028 
00029 #include "MClient.h"
00030 
00035 class MClientControlOutputPort : public MControlOutputPort, public MClientPort
00036 {
00037 
00038   Q_OBJECT
00039 
00040 public :
00041 
00042   // destructor
00043 
00044   virtual ~ MClientControlOutputPort ( ) { }
00045 
00046   // functions
00047 
00048   virtual MClient * Client ( ) const;
00049 
00050   // methods
00051 
00055   virtual bool Connect ( MControlInputPort * port );
00056 
00060   virtual bool Disconnect ( MControlInputPort * port );
00061 
00062 protected :
00063 
00064   // protected constructor
00065 
00070   MClientControlOutputPort ( jack_port_t * jack_port, MClient * client );
00071 
00072   //  friend void Client::CreateControlOutput ( const string & portName );
00073 
00074 };
00075 
00076 #endif // M_CLIENT_CONTROL_OUTPUT_PORT_H

Generated on Mon Jan 31 12:43:30 2005 for la Marmite by Doxygen 1.4.1