#include <queue.h>
Public Member Functions | |
| MIDIQueue (int num_msgs) | |
| virtual | ~MIDIQueue () |
| void | Clear () |
| bool | CanPut () const |
| bool | CanGet () const |
| bool | IsFull () const |
| void | Put (const MIDITimedBigMessage &msg) |
| MIDITimedBigMessage | Get () const |
| void | Next () |
| const MIDITimedBigMessage * | Peek () const |
Protected Attributes | |
| MIDITimedBigMessage * | buf |
| int | bufsize |
| volatile int | next_in |
| volatile int | next_out |
|
|
Definition at line 31 of file jdkmidi_queue.cpp.
|
|
|
Definition at line 42 of file jdkmidi_queue.cpp. References buf.
00043 {
00044 delete [] buf;
00045 }
|
|
|
Definition at line 58 of file jdkmidi_queue.cpp. References next_in, and next_out.
|
|
|
Definition at line 53 of file jdkmidi_queue.cpp. References bufsize, next_in, and next_out.
|
|
|
Definition at line 47 of file jdkmidi_queue.cpp. References next_in, and next_out.
|
|
|
Definition at line 58 of file queue.h.
00059 {
00060 return MIDITimedBigMessage( buf[next_out] );
00061 }
|
|
|
Definition at line 45 of file queue.h. References CanPut().
00046 {
00047 return !CanPut();
00048 }
|
|
|
Definition at line 63 of file queue.h. References bufsize, and next_out.
|
|
|
Definition at line 68 of file queue.h.
|
|
|
Definition at line 51 of file queue.h. References buf, bufsize, and next_in.
|
|
|
|
|
|
|
|
|
|
|
|
|