com.jsyn.ports
Class UnitInputPort

java.lang.Object
  extended by com.jsyn.ports.UnitPort
      extended by com.jsyn.ports.UnitValuePort
          extended by com.jsyn.ports.UnitBlockPort
              extended by com.jsyn.ports.UnitInputPort

public class UnitInputPort
extends UnitBlockPort


Constructor Summary
UnitInputPort(int numParts, java.lang.String name)
           
UnitInputPort(int numParts, java.lang.String name, double defaultValue)
           
UnitInputPort(java.lang.String name)
           
UnitInputPort(java.lang.String name, double defaultValue)
           
 
Method Summary
 void connect(int thisPartNum, UnitOutputPort otherPort, int otherPartNum)
           
 void connect(int thisPartNum, UnitOutputPort otherPort, int otherPartNum, TimeStamp timeStamp)
           
 void connect(UnitOutputPort otherPort)
           
 void disconnect(int thisPartNum, UnitOutputPort otherPort, int otherPartNum)
           
 double getMaximum()
           
 double getMinimum()
           
 void pullData(long frameCount, int start, int limit)
           
 void setMaximum(double maximum)
           
 void setMinimum(double minimum)
           
 void setup(double minimum, double value, double maximum)
           
 
Methods inherited from class com.jsyn.ports.UnitBlockPort
disconnectAll, getNumParts, getValue, getValue, getValues, getValues, isConnected, isConnected, setValue, setValue
 
Methods inherited from class com.jsyn.ports.UnitValuePort
getCurrent, set, set, set, set, set, set
 
Methods inherited from class com.jsyn.ports.UnitPort
getName, getUnit, setName, setUnitGenerator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitInputPort

public UnitInputPort(int numParts,
                     java.lang.String name,
                     double defaultValue)

UnitInputPort

public UnitInputPort(java.lang.String name,
                     double defaultValue)

UnitInputPort

public UnitInputPort(java.lang.String name)

UnitInputPort

public UnitInputPort(int numParts,
                     java.lang.String name)
Method Detail

pullData

public void pullData(long frameCount,
                     int start,
                     int limit)

getMaximum

public double getMaximum()

setMaximum

public void setMaximum(double maximum)

getMinimum

public double getMinimum()

setMinimum

public void setMinimum(double minimum)

setup

public void setup(double minimum,
                  double value,
                  double maximum)

connect

public void connect(int thisPartNum,
                    UnitOutputPort otherPort,
                    int otherPartNum,
                    TimeStamp timeStamp)

connect

public void connect(int thisPartNum,
                    UnitOutputPort otherPort,
                    int otherPartNum)

connect

public void connect(UnitOutputPort otherPort)

disconnect

public void disconnect(int thisPartNum,
                       UnitOutputPort otherPort,
                       int otherPartNum)