csl::MIDIIn Class Reference

#include <MIDIIO.h>

Inheritance diagram for csl::MIDIIn:

csl::MIDIIO

List of all members.

Public Member Functions

 MIDIIn ()
unsigned buffer_size ()
void set_buffer_size (unsigned bufferSize)
status open ()
 method for opening the default stream.
status open (int deviceID)
bool poll ()
status read ()
status read_interpret ()
PmEvent buffer ()
void dump_buffer ()
CSL_MIDIMessage message ()
void dump_CSL_MIDIMessage ()
bool is_NoteOn_received ()
bool is_NoteOff_received ()
bool is_PolyTouch_received ()
bool is_ControlChange_received ()
bool is_ProgramChange_received ()
bool is_Aftertouch_received ()
bool is_PitchWheel_received ()
bool is_SysEX_received ()
unsigned get_note ()
unsigned get_velocity ()
unsigned get_PolyAftertouch ()
unsigned get_ControlChange_function ()
unsigned get_ControlChange_value ()
unsigned get_ProgramNumber ()
unsigned get_Aftertouch ()
unsigned get_PitchWheel ()
float get_frequency ()
float get_velocity_float ()
status setFilter ()
status filter_active_sensing (bool flag)
status filter_sysex (bool flag)
status filter_clock_msg (bool flag)

Protected Attributes

long mBufferSize
long mFilterFlag
CSL_MIDIMessage mMsg
PmEvent mBuffer [1]
PmError mLength


Detailed Description

MIDIIn class

Constructor & Destructor Documentation

MIDIIn::MIDIIn (  ) 


Member Function Documentation

unsigned MIDIIn::buffer_size (  ) 

References mBufferSize.

void MIDIIn::set_buffer_size ( unsigned  bufferSize  ) 

References mBufferSize.

status MIDIIn::open (  )  [virtual]

status MIDIIn::open ( int  deviceID  ) 

References csl::MIDIIO::mDeviceID, and open().

bool MIDIIn::poll (  ) 

status MIDIIn::read (  ) 

status MIDIIn::read_interpret (  ) 

PmEvent csl::MIDIIn::buffer (  )  [inline]

References mBuffer.

void MIDIIn::dump_buffer (  ) 

References mBuffer.

Referenced by input_test().

CSL_MIDIMessage csl::MIDIIn::message (  )  [inline]

References mMsg.

void MIDIIn::dump_CSL_MIDIMessage (  ) 

bool MIDIIn::is_NoteOn_received (  ) 

bool MIDIIn::is_NoteOff_received (  ) 

bool MIDIIn::is_PolyTouch_received (  ) 

bool MIDIIn::is_ControlChange_received (  ) 

bool MIDIIn::is_ProgramChange_received (  ) 

bool MIDIIn::is_Aftertouch_received (  ) 

bool MIDIIn::is_PitchWheel_received (  ) 

bool MIDIIn::is_SysEX_received (  ) 

References csl::kSysEX, csl::CSL_MIDIMessage::message, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_note (  ) 

References csl::CSL_MIDIMessage::data1, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_velocity (  ) 

References csl::CSL_MIDIMessage::data2, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_PolyAftertouch (  ) 

References csl::CSL_MIDIMessage::data2, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_ControlChange_function (  ) 

References csl::CSL_MIDIMessage::data1, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_ControlChange_value (  ) 

References csl::CSL_MIDIMessage::data2, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_ProgramNumber (  ) 

References csl::CSL_MIDIMessage::data1, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_Aftertouch (  ) 

References csl::CSL_MIDIMessage::data1, and mMsg.

Referenced by input_test().

unsigned MIDIIn::get_PitchWheel (  ) 

float MIDIIn::get_frequency (  ) 

float MIDIIn::get_velocity_float (  ) 

status MIDIIn::setFilter (  ) 

status MIDIIn::filter_active_sensing ( bool  flag  ) 

status MIDIIn::filter_sysex ( bool  flag  ) 

status MIDIIn::filter_clock_msg ( bool  flag  ) 


Member Data Documentation

long csl::MIDIIn::mBufferSize [protected]

long csl::MIDIIn::mFilterFlag [protected]

PmEvent csl::MIDIIn::mBuffer[1] [protected]

PmError csl::MIDIIn::mLength [protected]

Referenced by read().


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8