jdkmidi class library documentation

Copyright © 2004 J.D. Koftinoff Software, Ltd.

Released under the GNU General Public License (GPL)




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

include/jdkmidi/showcontrolhandler.h

Go to the documentation of this file.
00001 /*
00002  *  libjdkmidi-2004 C++ Class Library for MIDI
00003  *
00004  *  Copyright (C) 2004  J.D. Koftinoff Software, Ltd.
00005  *  www.jdkoftinoff.com
00006  *  jeffk@jdkoftinoff.com
00007  *
00008  *  *** RELEASED UNDER THE GNU GENERAL PUBLIC LICENSE (GPL) April 27, 2004 ***
00009  *
00010  *  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version.
00014  *
00015  *  This program is distributed in the hope that it will be useful,
00016  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018  *  GNU General Public License for more details.
00019  *
00020  *  You should have received a copy of the GNU General Public License
00021  *  along with this program; if not, write to the Free Software
00022  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 */
00024 
00025 #ifndef _JDKMIDI_SHOWCONTROLHANDLER_H
00026 #define _JDKMIDI_SHOWCONTROLHANDLER_H
00027 
00028 
00029 
00030 #include "jdkmidi/showcontrol.h"
00031 
00032 
00033 namespace jdkmidi
00034 {
00035   
00036   class MIDISCHandle
00037     {
00038     public:
00039       MIDISCHandle();
00040       virtual ~MIDISCHandle();
00041       
00042       virtual bool Dispatch( const MIDIShowControlPacket &p );
00043       
00044       virtual bool Go();
00045       virtual bool Go( const MIDICue & q_number );
00046       virtual bool Go( const MIDICue & q_number, const MIDICue & q_list );
00047       virtual bool Go( const MIDICue & q_number, const MIDICue & q_list, const MIDICue & q_path );
00048       virtual bool Stop();
00049       virtual bool Stop( const MIDICue & q_number );
00050       virtual bool Stop( const MIDICue & q_number, const MIDICue & q_list );
00051       virtual bool Stop( const MIDICue & q_number, const MIDICue & q_list, const MIDICue & q_path );
00052       virtual bool Resume();
00053       virtual bool Resume( const MIDICue & q_number );
00054       virtual bool Resume( const MIDICue & q_number, const MIDICue & q_list );
00055       virtual bool Resume( const MIDICue & q_number, const MIDICue & q_list, const MIDICue & q_path );
00056       virtual bool TimedGo( 
00057         uchar hr, uchar mn, uchar sc, uchar fr, uchar ff
00058         );
00059       virtual bool TimedGo( 
00060         uchar hr, uchar mn, uchar sc, uchar fr, uchar ff,
00061         const MIDICue & q_number
00062         );
00063       virtual bool TimedGo( 
00064         uchar hr, uchar mn, uchar sc, uchar fr, uchar ff,
00065         const MIDICue & q_number, const MIDICue & q_list
00066         );
00067       
00068       virtual bool TimedGo( 
00069         uchar hr, uchar mn, uchar sc, uchar fr, uchar ff,
00070         const MIDICue & q_number, const MIDICue & q_list, const MIDICue & q_path 
00071         );
00072       
00073       virtual bool Load( const MIDICue & q_number );
00074       virtual bool Load( const MIDICue & q_number, const MIDICue & q_list );
00075       virtual bool Load( const MIDICue & q_number, const MIDICue & q_list, const MIDICue & q_path );
00076       virtual bool Set( ulong ctrl_num, ulong ctrl_val );
00077       
00078       virtual bool Set( 
00079         ulong ctrl_num, 
00080         ulong ctrl_val,
00081         uchar hr, uchar mn, uchar sc, uchar fr, uchar ff 
00082         );
00083       
00084       virtual bool Fire( uchar macro_num );
00085       virtual bool AllOff();
00086       virtual bool Restore();
00087       virtual bool Reset();
00088       virtual bool GoOff();
00089       virtual bool GoOff( const MIDICue & q_number );
00090       virtual bool GoOff( const MIDICue & q_number, const MIDICue & q_list );
00091       virtual bool GoOff( const MIDICue & q_number, const MIDICue & q_list, const MIDICue & q_path );
00092       virtual bool GoJam();
00093       virtual bool GoJam( const MIDICue & q_number );
00094       virtual bool GoJam( const MIDICue & q_number, const MIDICue & q_list );
00095       virtual bool GoJam( const MIDICue & q_number, const MIDICue & q_list, const MIDICue & q_path );
00096       virtual bool StandbyPlus();
00097       virtual bool StandbyPlus( const MIDICue & q_list );
00098       virtual bool StandbyMinus();
00099       virtual bool StandbyMinus( const MIDICue & q_list );
00100       virtual bool SequencePlus();
00101       virtual bool SequencePlus( const MIDICue & q_list );
00102       virtual bool SequenceMinus();
00103       virtual bool SequenceMinus( const MIDICue & q_list );
00104       virtual bool StartClock();
00105       virtual bool StartClock( const MIDICue & q_list );
00106       virtual bool StopClock();
00107       virtual bool StopClock( const MIDICue & q_list );
00108       virtual bool ZeroClock();
00109       virtual bool ZeroClock( const MIDICue & q_list );
00110       virtual bool SetClock( 
00111         uchar hr, uchar mn, uchar sc, uchar fr, uchar ff
00112         );
00113       virtual bool SetClock( 
00114         uchar hr, uchar mn, uchar sc, uchar fr, uchar ff,
00115         const MIDICue & q_list
00116         );
00117       virtual bool MTCChaseOn();
00118       virtual bool MTCChaseOn( const MIDICue & q_list );
00119       virtual bool MTCChaseOff();
00120       virtual bool MTCChaseOff( const MIDICue & q_list );
00121       virtual bool OpenQList( const MIDICue & q_list );
00122       virtual bool CloseQList( const MIDICue & q_list );
00123       virtual bool OpenQPath( const MIDICue & q_path );
00124       virtual bool CloseQPath( const MIDICue & q_path );
00125       
00126     };
00127   
00128 }
00129 
00130 #endif