Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

/home/pete/Work/TSE3.svn/tse3/src/tse3/plt/Arts.h

Go to the documentation of this file.
00001 /*
00002  * @(#)plt/Arts.h 3.00 12 October 2000
00003  *
00004  * Copyright (c) 2000 Pete Goodliffe (pete@cthree.org)
00005  *
00006  * This file is part of TSE3 - the Trax Sequencer Engine version 3.00.
00007  *
00008  * This library is modifiable/redistributable under the terms of the GNU
00009  * General Public License.
00010  *
00011  * You should have received a copy of the GNU General Public License along
00012  * with this program; see the file COPYING. If not, write to the Free Software
00013  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00014  *
00015  */
00016 
00017 #ifndef TSE3_PLT_ARTS_H
00018 #define TSE3_PLT_ARTS_H
00019 
00020 #include "tse3/MidiScheduler.h"
00021 
00022 namespace TSE3
00023 {
00024     namespace Plt
00025     {
00035         class ArtsMidiScheduler : public MidiScheduler
00036         {
00037             public:
00038 
00042                 ArtsMidiScheduler();
00043                 virtual ~ArtsMidiScheduler();
00044 
00045             protected:
00046 
00050                 virtual const char *impl_implementationName() const;
00054                 virtual const char *impl_portName(int port) const;
00058                 virtual const char *impl_portType(int port) const;
00062                 virtual bool impl_portReadable(int port) const;
00066                 virtual bool impl_portWriteable(int port) const;
00070                 virtual void impl_start(Clock clock);
00074                 virtual void impl_stop(Clock clock);
00078                 virtual void impl_moveTo(Clock moveTime, Clock newTime);
00082                 virtual Clock impl_clock();
00086                 virtual int impl_msecs();
00090                 virtual void impl_setTempo(int tempo, Clock changeTime);
00094                 virtual bool impl_eventWaiting();
00098                 virtual MidiEvent impl_rx();
00102                 virtual void impl_tx(MidiCommand mc);
00106                 virtual void impl_tx(MidiEvent mc);
00110                 virtual void impl_txSysEx(int port,
00111                                           const unsigned char *data,
00112                                           size_t size);
00113 
00114             private:
00115 
00116                 ArtsMidiScheduler(const ArtsMidiScheduler &);
00117                 ArtsMidiScheduler &operator=(const ArtsMidiScheduler &);
00118 
00119                 size_t           noports;
00120                 class ArtsImpl  *pimpl;
00121         };
00122     }
00123 }
00124 
00125 #endif

Generated on Wed May 25 14:45:09 2005 for TSE3 by doxygen 1.3.2