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

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.PipeIntegerListSource
All Implemented Interfaces:
PipePort.PortListener, ParamViewObserver

public class PipeIntegerListSource
extends PipeListSource

Iterate through list of integers.

Author:
Blake Lucas

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule
PipeModule.PipeListener
 
Field Summary
protected  ParamInteger integerParam
          The integer 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
PipeIntegerListSource()
          Default constructor.
 
Method Summary
 ParamCollection createInputParams()
          Create input parameters.
 ParamCollection createOutputParams()
          Create output parameters.
 ParamInteger getOutputParam()
          Get output parameter.
protected  java.lang.Object getValue(int i)
          Get 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

integerParam

protected ParamInteger integerParam
The integer param.

Constructor Detail

PipeIntegerListSource

public PipeIntegerListSource()
Default constructor.

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 ParamInteger getOutputParam()
Get output parameter.

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

getValue

protected java.lang.Object getValue(int i)
Get 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