Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

DrumPads.h

Go to the documentation of this file.
00001 
00011 #ifndef __DRUMPADS_H__
00012 #define __DRUMPADS_H__
00013 
00014 #include "midi.h"
00015 
00020 class DrumPads
00021 {
00022 public:
00024     DrumPads();
00025 
00027     ~DrumPads();
00028 
00036     bool Init(unsigned int deviceID);
00037 
00043     void Shutdown();
00044 
00050     void Poll();
00051 
00052 private:
00053     Midi *midi;
00054     MidiEvent buffer[MAX_MIDI_EVENTS];
00055 
00063     void AnnounceHit(unsigned char pad);
00064 };
00065 
00066 #endif /* __DRUMPADS_H__ */

Generated on Mon Mar 4 08:42:23 2002 for Aria by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002