csl::MIDIIO Class Reference

#include <MIDIIO.h>

Inheritance diagram for csl::MIDIIO:

csl::MIDIIn csl::MIDIOut List of all members.

Detailed Description

MIDIIO class


Public Member Functions

 MIDIIO ()
virtual ~MIDIIO ()
virtual status open ()
bool is_open ()
 can't open the abstract class true if MIDI stream is opened.
status close ()
 closing MIDI stream
status dump_device_info ()
 printing device info for all devices.
void dump_count_devices ()
 printing total number of devices available thin wrapper for PortMidi functions. made available for flexibility.
int count_devices ()
int get_default_input_id ()
int get_default_output_id ()
const PmDeviceInfo * get_device_info (int deviceID)

Protected Member Functions

void handle_error (PmError err)

Protected Attributes

PmStream * mMIDIStream
 opened stream
PmDeviceID mDeviceID
 device ID which will/is opened. static to keep track of Pm_Initialize() / Pm_Terminate()
bool mIsInput
bool mIsOutput
bool mIsOpen

Static Protected Attributes

static bool mIsInitialized = false
static unsigned mNumInstantiated = 0
static bool mIsPortTimeStarted = false
 status indicators


Constructor & Destructor Documentation

MIDIIO::MIDIIO  ) 
 

MIDIIO::~MIDIIO  )  [virtual]
 


Member Function Documentation

virtual status csl::MIDIIO::open  )  [inline, virtual]
 

Reimplemented in csl::MIDIIn, and csl::MIDIOut.

bool MIDIIO::is_open  ) 
 

can't open the abstract class true if MIDI stream is opened.

status MIDIIO::close  ) 
 

closing MIDI stream

status MIDIIO::dump_device_info  ) 
 

printing device info for all devices.

void MIDIIO::dump_count_devices  ) 
 

printing total number of devices available thin wrapper for PortMidi functions. made available for flexibility.

int MIDIIO::count_devices  ) 
 

int MIDIIO::get_default_input_id  ) 
 

int MIDIIO::get_default_output_id  ) 
 

const PmDeviceInfo * MIDIIO::get_device_info int  deviceID  ) 
 

status MIDIIO::handle_error PmError  err  )  [protected]
 


Member Data Documentation

PmStream* csl::MIDIIO::mMIDIStream [protected]
 

opened stream

PmDeviceID csl::MIDIIO::mDeviceID [protected]
 

device ID which will/is opened. static to keep track of Pm_Initialize() / Pm_Terminate()

bool MIDIIO::mIsInitialized = false [static, protected]
 

unsigned MIDIIO::mNumInstantiated = 0 [static, protected]
 

bool MIDIIO::mIsPortTimeStarted = false [static, protected]
 

status indicators

bool csl::MIDIIO::mIsInput [protected]
 

bool csl::MIDIIO::mIsOutput [protected]
 

bool csl::MIDIIO::mIsOpen [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:18 2007 for CSL by  doxygen 1.4.5-20051010