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

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

public class PipeIntegerSweepSource
extends PipeSource

Sweep through range 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  int end
          The end.
protected  ParamInteger endParam
          The val param.
protected  int inc
          The inc.
protected  ParamInteger incParam
          The val param.
protected  int start
          The start.
protected  ParamInteger startParam
          The val param.
protected  int val
          The val.
protected  ParamInteger valParam
          The val param.
 
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
PipeIntegerSweepSource()
          Instantiates a new pipe integer sweep source.
 
Method Summary
 ParamCollection createInputParams()
          Create input parameters for this source.
 ParamCollection createOutputParams()
          Create output parameters for this source.
 ParamInteger getOutputParam()
          Get parameter representing the output to this source.
 boolean hasNext()
          Returns true if there are more parameter values.
 boolean iterate()
          Iterate through all parameter values and all child parameter values.
 void reset()
          Reset this source and all child sources.
 
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

start

protected transient int start
The start.


end

protected transient int end
The end.


inc

protected transient int inc
The inc.


val

protected transient int val
The val.


startParam

protected ParamInteger startParam
The val param.


endParam

protected ParamInteger endParam
The val param.


incParam

protected ParamInteger incParam
The val param.


valParam

protected ParamInteger valParam
The val param.

Constructor Detail

PipeIntegerSweepSource

public PipeIntegerSweepSource()
Instantiates a new pipe integer sweep source.

Method Detail

createInputParams

public ParamCollection createInputParams()
Description copied from class: PipeSource
Create input parameters for this source.

Specified by:
createInputParams in class PipeSource
Returns:
input parameters

createOutputParams

public ParamCollection createOutputParams()
Description copied from class: PipeSource
Create output parameters for this source.

Specified by:
createOutputParams in class PipeSource
Returns:
output parameters

getOutputParam

public ParamInteger getOutputParam()
Description copied from class: PipeSource
Get parameter representing the output to this source.

Specified by:
getOutputParam in class PipeSource
Returns:
output parameter

hasNext

public boolean hasNext()
Description copied from class: PipeSource
Returns true if there are more parameter values.

Overrides:
hasNext in class PipeSource
Returns:
true, if checks for next

iterate

public boolean iterate()
Description copied from class: PipeSource
Iterate through all parameter values and all child parameter values.

Overrides:
iterate in class PipeSource
Returns:
True if there are more elements to iterate through

reset

public void reset()
Description copied from class: PipeSource
Reset this source and all child sources.

Overrides:
reset in class PipeSource