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/MidiCommandFilter.h

Go to the documentation of this file.
00001 /*
00002  * @(#)MidiCommandFilter.h 3.00 19 May 1999
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_MIDICOMMANDFILTER_H
00018 #define TSE3_MIDICOMMANDFILTER_H
00019 
00020 #include "tse3/listen/MidiCommandFilter.h"
00021 
00022 #include "tse3/Notifier.h"
00023 
00024 namespace TSE3
00025 {
00026     class MidiCommand;
00027 
00042     class MidiCommandFilter : public Notifier<MidiCommandFilterListener>
00043     {
00044         public:
00045 
00050             MidiCommandFilter() : _filter(0xff) {}
00051 
00062             bool filter(MidiCommand type) const;
00063 
00073             void setFilterStatus(MidiCommand type, const bool status);
00074 
00075         private:
00076 
00077             int _filter; // filter statuses held in a bitfield
00078     };
00079 }
00080 
00081 #endif

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