#include <xmidi.h>
Collaboration diagram for NoteStack:

Public Member Functions | |
| NoteStack () | |
| void | clear () |
| midi_event * | PopTime (uint32 time) |
| midi_event * | Pop () |
| midi_event * | Remove (midi_event *event) |
| midi_event * | FindAndPop (midi_event *event) |
| void | Push (midi_event *event) |
| void | Push (midi_event *event, uint32 time) |
| int | GetPolyphony () |
| int | GetMaxPolyphony () |
Private Attributes | |
| midi_event * | notes |
| int | polyphony |
| int | max_polyphony |
Definition at line 83 of file xmidi.h.
| void NoteStack::clear | ( | ) | [inline] |
| midi_event* NoteStack::PopTime | ( | uint32 | time | ) | [inline] |
Definition at line 99 of file xmidi.h.
References midi_event::next_note, midi_event::note_time, notes, and polyphony.
| midi_event* NoteStack::Pop | ( | ) | [inline] |
| midi_event* NoteStack::Remove | ( | midi_event * | event | ) | [inline] |
| midi_event* NoteStack::FindAndPop | ( | midi_event * | event | ) | [inline] |
Definition at line 144 of file xmidi.h.
References midi_event::data, midi_event::next_note, notes, polyphony, and midi_event::status.
Referenced by XMIDI::AdjustTimings().
| void NoteStack::Push | ( | midi_event * | event | ) | [inline] |
Definition at line 164 of file xmidi.h.
References max_polyphony, midi_event::next_note, notes, and polyphony.
Referenced by XMIDI::AdjustTimings().
| void NoteStack::Push | ( | midi_event * | event, | |
| uint32 | time | |||
| ) | [inline] |
Definition at line 172 of file xmidi.h.
References max_polyphony, midi_event::next_note, midi_event::note_time, notes, and polyphony.
| int NoteStack::GetPolyphony | ( | ) | [inline] |
| int NoteStack::GetMaxPolyphony | ( | ) | [inline] |
midi_event* NoteStack::notes [private] |
int NoteStack::polyphony [private] |
Definition at line 85 of file xmidi.h.
Referenced by clear(), FindAndPop(), GetPolyphony(), Pop(), PopTime(), Push(), and Remove().
int NoteStack::max_polyphony [private] |
1.5.1