MidiPort class public functions

MidiPort
~MidiPort
getInputPort
getInputTrace
getOutputPort
getOutputTrace
setInputPort
setOutputPort
setOutputTrace
toggleInputTrace
toggleOutputTrace

Functions inherited from MidiOutPort

close
closeAll
getName
getNumPorts
getPort
getPortStatus
open
rawsend
setPort

Functions inherited from MidiInPort.

close
closeAll
extract
getCount
getName
getNumPorts
getPort
getPortStatus
getTrace
insert
open
pause
setBufferSize
setPort
setTrace
toggleTrace
unpause


MidiPort(void);
Sets the input and output ports to 0, but does not open them.
MidiPort(int outputPort, int inputPort);
Sets the ports on which MIDI I/O will occur for this object. The ports will not be automacially opened and must be opened with the openInput or openOutput commands.

~MidiPort();
If there are no more instances of MidiPort left, then close all open MIDI I/O ports.

int getInputPort(void);
Calls MidiInPort::getPort .

int getInputTrace(void);
Calls MidiInPort::getTrace .

int getOutputPort(void);
Calls MidiOutPort::getPort .

int getOutputTrace(void);
Calls MidiOutPort::getTrace .

int setInputPort(void);
Calls MidiInPort::setPort .

int setInputTrace(void);
Calls MidiInPort::setTrace .

int setOutputPort(void);
Calls MidiOutPort::setPort .

int setOutputTrace(void);
Calls MidiOutPort::setTrace .

int toggleInputTrace(void);
Calls MidiInPort::toggleTrace .

int toggleOutputTrace(void);
Calls MidiOutPort::toggleTrace .