#include <sysex.h>
Public Member Functions | |
MIDISystemExclusive (int size=384) | |
MIDISystemExclusive (const MIDISystemExclusive &e) | |
MIDISystemExclusive (unsigned char *buf_, int max_len_, int cur_len_, bool deletable_) | |
virtual | ~MIDISystemExclusive () |
void | Clear () |
void | ClearChecksum () |
void | PutSysByte (unsigned char b) |
void | PutByte (unsigned char b) |
void | PutEXC () |
void | PutEOX () |
void | PutNibblizedByte (unsigned char b) |
void | PutNibblizedByte2 (unsigned char b) |
void | PutChecksum () |
unsigned char | GetChecksum () const |
int | GetLength () const |
unsigned char | GetData (int i) const |
bool | IsFull () const |
unsigned char * | GetBuf () |
const unsigned char * | GetBuf () const |
Private Attributes | |
unsigned char * | buf |
int | max_len |
int | cur_len |
unsigned char | chk_sum |
bool | deletable |
|
Definition at line 52 of file jdkmidi_sysex.cpp. References buf, chk_sum, cur_len, deletable, ENTER, max_len, and uchar.
|
|
Definition at line 68 of file jdkmidi_sysex.cpp. References buf, chk_sum, cur_len, deletable, and max_len.
|
|
Definition at line 50 of file sysex.h. References buf, chk_sum, cur_len, deletable, and max_len.
|
|
Definition at line 82 of file jdkmidi_sysex.cpp. References buf, deletable, and ENTER.
|
|
Definition at line 66 of file sysex.h. References chk_sum, and cur_len.
|
|
Definition at line 67 of file sysex.h. References chk_sum.
00067 { chk_sum=0; } |
|
Definition at line 128 of file sysex.h. References buf.
00129 { 00130 return buf; 00131 } |
|
Definition at line 123 of file sysex.h. References buf.
00124 { 00125 return buf; 00126 } |
|
Definition at line 103 of file sysex.h. References chk_sum.
00104 { 00105 return (unsigned char)(chk_sum&0x7f); 00106 } |
|
Definition at line 113 of file sysex.h. References buf.
00114 { 00115 return buf[i]; 00116 } |
|
Definition at line 108 of file sysex.h. References cur_len.
00109 { 00110 return cur_len; 00111 } |
|
Definition at line 118 of file sysex.h. References cur_len, and max_len.
|
|
Definition at line 75 of file sysex.h. References chk_sum, and PutSysByte().
00076 { 00077 PutSysByte(b); 00078 chk_sum+=b; 00079 } |
|
Definition at line 98 of file sysex.h. References chk_sum, and PutByte().
00099 { 00100 PutByte( (unsigned char)(chk_sum&0x7f )); 00101 } |
|
Definition at line 82 of file sysex.h. References PutSysByte(), and jdkmidi::SYSEX_END.
00082 { PutSysByte( SYSEX_END ); } |
|
Definition at line 81 of file sysex.h. References PutSysByte(), and jdkmidi::SYSEX_START.
00081 { PutSysByte( SYSEX_START ); } |
|
Definition at line 85 of file sysex.h. References PutByte().
|
|
Definition at line 92 of file sysex.h. References PutByte().
|
|
Definition at line 69 of file sysex.h. References buf, cur_len, and max_len.
|
|
|
|
|
|
|
|
|
|
|