XMIDIEventList Class Reference

#include <xmidi.h>

Collaboration diagram for XMIDIEventList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int Write (const char *filename)
int Write (DataSource *dest)
void IncerementCounter ()
void DecerementCounter ()

Public Attributes

midi_eventevents

Private Member Functions

int PutVLQ (DataSource *dest, uint32 value)
uint32 ConvertListToMTrk (DataSource *dest)

Static Private Member Functions

static void DeleteEventList (midi_event *list)

Private Attributes

int counter

Detailed Description

Definition at line 207 of file xmidi.h.


Member Function Documentation

int XMIDIEventList::PutVLQ ( DataSource dest,
uint32  value 
) [private]

Definition at line 1603 of file xmidi.cc.

References DataSource::write1().

Referenced by ConvertListToMTrk().

Here is the call graph for this function:

uint32 XMIDIEventList::ConvertListToMTrk ( DataSource dest  )  [private]

Definition at line 1627 of file xmidi.cc.

References midi_event::buffer, midi_event::data, events, DataSource::getPos(), midi_event::len, midi_event::next, PutVLQ(), DataSource::skip(), midi_event::status, midi_event::time, and DataSource::write1().

Referenced by Write().

Here is the call graph for this function:

void XMIDIEventList::DeleteEventList ( midi_event list  )  [static, private]

Definition at line 1742 of file xmidi.cc.

References midi_event::buffer, Free(), midi_event::next, and midi_event::status.

Referenced by DecerementCounter().

Here is the call graph for this function:

int XMIDIEventList::Write ( const char *  filename  ) 

Definition at line 1555 of file xmidi.cc.

References file, and U7open().

Referenced by Mixer_MidiOut::start_track().

Here is the call graph for this function:

int XMIDIEventList::Write ( DataSource dest  ) 

Definition at line 1564 of file xmidi.cc.

References ConvertListToMTrk(), events, len, DataSource::write1(), DataSource::write2high(), and DataSource::write4high().

Here is the call graph for this function:

void XMIDIEventList::IncerementCounter (  )  [inline]

Definition at line 225 of file xmidi.h.

References counter.

void XMIDIEventList::DecerementCounter (  ) 

Definition at line 1759 of file xmidi.cc.

References counter, DeleteEventList(), events, and Free().

Here is the call graph for this function:


Member Data Documentation

int XMIDIEventList::counter [private]

Definition at line 209 of file xmidi.h.

Referenced by DecerementCounter(), and IncerementCounter().

midi_event* XMIDIEventList::events

Definition at line 218 of file xmidi.h.

Referenced by ConvertListToMTrk(), DecerementCounter(), XMIDI::ExtractTracksFromMid(), XMIDI::ExtractTracksFromXmi(), and Write().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:06:14 2007 for ExultEngine by  doxygen 1.5.1