XMidiSequenceHandler Class Reference

Abstract class for handling the playing of XMidiSequence objects. More...

#include <XMidiSequenceHandler.h>

Inheritance diagram for XMidiSequenceHandler:

LowLevelMidiDriver ALSAMidiDriver CoreAudioMidiDriver FluidSynthMidiDriver FMOplMidiDriver TimidityMidiDriver UnixSeqMidiDriver WindowsMidiDriver List of all members.

Public Member Functions

virtual ~XMidiSequenceHandler ()
virtual void sequenceSendEvent (uint16 sequence_id, uint32 message)=0
virtual void sequenceSendSysEx (uint16 sequence_id, uint8 status, const uint8 *msg, uint16 length)=0
virtual uint32 getTickCount (uint16 sequence_id)=0
virtual void handleCallbackTrigger (uint16 sequence_id, uint8 data)=0

Detailed Description

Abstract class for handling the playing of XMidiSequence objects.

Definition at line 25 of file XMidiSequenceHandler.h.


Constructor & Destructor Documentation

virtual XMidiSequenceHandler::~XMidiSequenceHandler (  )  [inline, virtual]

Definition at line 28 of file XMidiSequenceHandler.h.


Member Function Documentation

virtual uint32 XMidiSequenceHandler::getTickCount ( uint16  sequence_id  )  [pure virtual]

An event sent from a sequence to play

Parameters:
sequence_id The id of the sequence requesting the tick count
Returns:
Number of ticks, in 6000ths of a second

Implemented in LowLevelMidiDriver.

Referenced by XMidiSequence::getRealTime(), XMidiSequence::getTime(), and XMidiSequence::initClock().

virtual void XMidiSequenceHandler::handleCallbackTrigger ( uint16  sequence_id,
uint8  data 
) [pure virtual]

Handle an XMIDI Callback Trigger Event

Parameters:
sequence_id The id of the sequence doing the callback
data data[1] of the XMIDI_CONTROLLER_CALLBACK_TRIG event

Implemented in LowLevelMidiDriver.

Referenced by XMidiSequence::playEvent().

virtual void XMidiSequenceHandler::sequenceSendEvent ( uint16  sequence_id,
uint32  message 
) [pure virtual]

An event sent from a sequence to play

Parameters:
sequence_id The id of the sequence that is attempting to send the event
message The Event being sent

Implemented in LowLevelMidiDriver.

Referenced by XMidiSequence::applyShadow(), XMidiSequence::gainChannel(), XMidiSequence::loseChannel(), XMidiSequence::playEvent(), XMidiSequence::sendEvent(), XMidiSequence::setVolume(), XMidiSequence::XMidiSequence(), and XMidiSequence::~XMidiSequence().

virtual void XMidiSequenceHandler::sequenceSendSysEx ( uint16  sequence_id,
uint8  status,
const uint8 msg,
uint16  length 
) [pure virtual]

Send a SysEx event from a Sequence

Parameters:
sequence_id The id of the sequence that is attempting to send the event
status The Status Byte of the SysEx event
msg The SysEx data (including terminator byte)
length The number of bytes of SysEx data to send

Implemented in LowLevelMidiDriver.

Referenced by XMidiSequence::playEvent().


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