jass.engine
Interface Sink

All Known Implementing Classes:
AllPass, ColorSonificator, CombReverb, Delay, DelayUG, FilterContainer, FilterContainerStereo, FilterUG, In, InOut, LevelMeter, LowpassColorSonificator, LowPassComb, Mixer, ModalObject, ModalObjectWithOneContact, ModalObjectWithOneContactInterpolated, ModalQuencher, OnePoleLowPass, OpenWebsterTube, Probe, QuenchableModalObjectWithOneContact, Rectify, SingleMode, SourcePlayer, SpatialMixer, StickyModalObjectWithOneContact, ThreadMixer

public interface Sink

Interface for objects containing multiple Sources. This object recieves input lines.

Author:
Kees van den Doel (kvdoel@cs.ubc.ca)

Method Summary
 java.lang.Object addSource(Source s)
          Add a Source
 Source[] getSources()
          Get array of sources.
 void removeSource(Source s)
          Remove a Source
 

Method Detail

addSource

java.lang.Object addSource(Source s)
                           throws SinkIsFullException
Add a Source

Parameters:
s - Source to add
Returns:
Object associated with the source (may be a controller, or whatever)
Throws:
SinkIsFullException

removeSource

void removeSource(Source s)
Remove a Source

Parameters:
s - Source to remove

getSources

Source[] getSources()
Get array of sources.

Returns:
array of the Sources, null if there are none.