#include <XMidiNoteStack.h>
Public Member Functions | |
XMidiNoteStack () | |
void | clear () |
XMidiEvent * | PopTime (uint32 time) |
XMidiEvent * | Pop () |
XMidiEvent * | Remove (XMidiEvent *event) |
XMidiEvent * | FindAndPop (XMidiEvent *event) |
void | Push (XMidiEvent *event) |
void | Push (XMidiEvent *event, uint32 time) |
void | SetAftertouch (XMidiEvent *event) |
XMidiEvent * | GetNotes () |
int | GetPolyphony () |
int | GetMaxPolyphony () |
Private Attributes | |
XMidiEvent * | notes |
int | polyphony |
int | max_polyphony |
Definition at line 26 of file XMidiNoteStack.h.
XMidiNoteStack::XMidiNoteStack | ( | ) | [inline] |
Definition at line 32 of file XMidiNoteStack.h.
void XMidiNoteStack::clear | ( | ) | [inline] |
XMidiEvent* XMidiNoteStack::FindAndPop | ( | XMidiEvent * | event | ) | [inline] |
Definition at line 87 of file XMidiNoteStack.h.
References XMidiEvent::data, XMidiEvent::ex, XMidiEvent::note_on, notes, polyphony, prev, and XMidiEvent::status.
Referenced by XMidiFile::AdjustTimings().
int XMidiNoteStack::GetMaxPolyphony | ( | ) | [inline] |
XMidiEvent* XMidiNoteStack::GetNotes | ( | ) | [inline] |
Definition at line 156 of file XMidiNoteStack.h.
References notes.
Referenced by XMidiSequence::countNotesOn(), XMidiSequence::gainChannel(), XMidiSequence::loseChannel(), XMidiSequence::playEvent(), and XMidiSequence::timeTillNext().
int XMidiNoteStack::GetPolyphony | ( | ) | [inline] |
XMidiEvent* XMidiNoteStack::Pop | ( | ) | [inline] |
Definition at line 55 of file XMidiNoteStack.h.
References XMidiEvent::ex, XMidiEvent::note_on, notes, and polyphony.
Referenced by XMidiSequence::~XMidiSequence().
XMidiEvent* XMidiNoteStack::PopTime | ( | uint32 | time | ) | [inline] |
Definition at line 42 of file XMidiNoteStack.h.
References XMidiEvent::ex, XMidiEvent::note_on, notes, and polyphony.
Referenced by XMidiSequence::playEvent().
void XMidiNoteStack::Push | ( | XMidiEvent * | event, | |
uint32 | time | |||
) | [inline] |
Definition at line 114 of file XMidiNoteStack.h.
References XMidiEvent::ex, max_polyphony, XMidiEvent::note_on, notes, polyphony, and prev.
void XMidiNoteStack::Push | ( | XMidiEvent * | event | ) | [inline] |
Definition at line 107 of file XMidiNoteStack.h.
References XMidiEvent::ex, max_polyphony, XMidiEvent::note_on, notes, and polyphony.
Referenced by XMidiFile::AdjustTimings(), and XMidiSequence::sendEvent().
XMidiEvent* XMidiNoteStack::Remove | ( | XMidiEvent * | event | ) | [inline] |
Definition at line 68 of file XMidiNoteStack.h.
References XMidiEvent::ex, XMidiEvent::note_on, notes, polyphony, and prev.
Referenced by XMidiSequence::sendEvent().
void XMidiNoteStack::SetAftertouch | ( | XMidiEvent * | event | ) | [inline] |
Definition at line 141 of file XMidiNoteStack.h.
References XMidiEvent::data, XMidiEvent::ex, XMidiEvent::note_on, notes, prev, and XMidiEvent::status.
Referenced by XMidiSequence::sendEvent().
int XMidiNoteStack::max_polyphony [private] |
Definition at line 29 of file XMidiNoteStack.h.
Referenced by clear(), GetMaxPolyphony(), and Push().
XMidiEvent* XMidiNoteStack::notes [private] |
Definition at line 27 of file XMidiNoteStack.h.
Referenced by clear(), FindAndPop(), GetNotes(), Pop(), PopTime(), Push(), Remove(), and SetAftertouch().
int XMidiNoteStack::polyphony [private] |
Definition at line 28 of file XMidiNoteStack.h.
Referenced by clear(), FindAndPop(), GetPolyphony(), Pop(), PopTime(), Push(), and Remove().