edu.jhu.ece.iacl.jist.pipeline.src
Class PipeDoubleListSource

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.PipeModule
      extended by edu.jhu.ece.iacl.jist.pipeline.PipeSource
          extended by edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource
              extended by edu.jhu.ece.iacl.jist.pipeline.src.PipeDoubleListSource
All Implemented Interfaces:
PipePort.PortListener, ParamViewObserver

public class PipeDoubleListSource
extends PipeListSource

Iterate through list of double values.

Author:
Blake Lucas

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
PipeModule.PipeListener
 
Field Summary
protected  ParamDouble doubleParam
          The double param.
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource
data, endEntry, fileParam, index, offset, startEntry
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeSource
childPort, isReset, parentPort
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
bounds, cell, currentContext, inputHash, inputParams, inputPorts, label, listeners, name, outputHash, outputParams, outputPorts
 
Constructor Summary
PipeDoubleListSource()
          Double list source.
 
Method Summary
 ParamCollection createInputParams()
          Create input parameters.
 ParamCollection createOutputParams()
          Create output parameters.
 ParamDouble getOutputParam()
          Get output parameters.
protected  java.lang.Object getValue(int i)
          Get double value.
protected  void setValue(java.lang.Object obj)
          Set value.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.src.PipeListSource
hasNext, iterate, reset
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeSource
createModuleCell, disconnect, getChildPort, getParentPort, getRoot, init, isRoot
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
addListener, connectAction, disconnectAction, forward, getAncestors, getAncestors, getBounds, getChildren, getCurrentContext, getDescendants, getDescendants, getInputHash, getInputParams, getInputPorts, getLabel, getListeners, getModuleCell, getName, getOutputHash, getOutputParams, getOutputPorts, getParents, isAncestorOf, isDescendantOf, push, removeAllListeners, removeListener, setBounds, setCurrentContext, setLabel, setModuleCell, setName, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doubleParam

protected ParamDouble doubleParam
The double param.

Constructor Detail

PipeDoubleListSource

public PipeDoubleListSource()
Double list source.

Method Detail

createInputParams

public ParamCollection createInputParams()
Create input parameters.

Overrides:
createInputParams in class PipeListSource
Returns:
the param collection

createOutputParams

public ParamCollection createOutputParams()
Create output parameters.

Specified by:
createOutputParams in class PipeSource
Returns:
the param collection

getOutputParam

public ParamDouble getOutputParam()
Get output parameters.

Specified by:
getOutputParam in class PipeSource
Returns:
the output param

getValue

protected java.lang.Object getValue(int i)
Get double value.

Specified by:
getValue in class PipeListSource
Parameters:
i - the i
Returns:
the value

setValue

protected void setValue(java.lang.Object obj)
Set value.

Specified by:
setValue in class PipeListSource
Parameters:
obj - the obj