Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MidiInput Class Reference

Concrete class that describes a MIDI input device. More...

#include <MidiInput.h>

Inheritance diagram for MidiInput::

InputObject List of all members.

Public Methods

 MidiInput (unsigned int id)
 Constructor. More...

 ~MidiInput ()
 Destructor.

void start ()
 Start polling for input data.

void stop ()
 Start polling for input data.

unsigned int poll (EventVector *events)
 Poll the MIDI device for a vector of input events. More...


Private Attributes

Midi * midi
 Handle to the current MIDI device instance.


Detailed Description

Concrete class that describes a MIDI input device.

Author:
Jon Parise <jparise@cmu.edu>


Constructor & Destructor Documentation

MidiInput::MidiInput unsigned int    id
 

Constructor.

Parameters:
id  The ID of the MIDI device to access


Member Function Documentation

unsigned int MidiInput::poll EventVector   events [virtual]
 

Poll the MIDI device for a vector of input events.

Parameters:
events  Vector of InputEvents
Returns:
The number of InputEvents in the vector

Reimplemented from InputObject.


The documentation for this class was generated from the following files:
Generated on Tue Oct 16 14:06:19 2001 for PuppetMaster by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001