XMidiNoteStack Class Reference

#include <XMidiNoteStack.h>

List of all members.

Public Member Functions

 XMidiNoteStack ()
void clear ()
XMidiEventPopTime (uint32 time)
XMidiEventPop ()
XMidiEventRemove (XMidiEvent *event)
XMidiEventFindAndPop (XMidiEvent *event)
void Push (XMidiEvent *event)
void Push (XMidiEvent *event, uint32 time)
void SetAftertouch (XMidiEvent *event)
XMidiEventGetNotes ()
int GetPolyphony ()
int GetMaxPolyphony ()

Private Attributes

XMidiEventnotes
int polyphony
int max_polyphony


Detailed Description

Definition at line 26 of file XMidiNoteStack.h.


Constructor & Destructor Documentation

XMidiNoteStack::XMidiNoteStack (  )  [inline]

Definition at line 32 of file XMidiNoteStack.h.


Member Function Documentation

void XMidiNoteStack::clear (  )  [inline]

Definition at line 35 of file XMidiNoteStack.h.

References max_polyphony, notes, and polyphony.

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]

Definition at line 164 of file XMidiNoteStack.h.

References max_polyphony.

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]

Definition at line 160 of file XMidiNoteStack.h.

References polyphony.

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().


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on Fri Jul 27 22:30:13 2007 for pentagram by  doxygen 1.4.7