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

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

public class PipeDoubleSweepSource
extends PipeSource

Sweep through range 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  double end
          The end.
protected  ParamDouble endParam
          The val param.
protected  double inc
          The inc.
protected  ParamDouble incParam
          The val param.
protected  double start
          The start.
protected  ParamDouble startParam
          The val param.
protected  double val
          The val.
protected  ParamDouble 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
PipeDoubleSweepSource()
          Default constructor.
 
Method Summary
 ParamCollection createInputParams()
          Create input parameters.
 ParamCollection createOutputParams()
          Create ouptut parameters.
 ParamModel getOutputParam()
          Get output parameter.
 boolean hasNext()
          Return true if iterator has more elements.
 boolean iterate()
          Iterate through double values.
 void reset()
          Reset iterator.
 
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 double start
The start.


end

protected transient double end
The end.


inc

protected transient double inc
The inc.


val

protected transient double val
The val.


startParam

protected ParamDouble startParam
The val param.


endParam

protected ParamDouble endParam
The val param.


incParam

protected ParamDouble incParam
The val param.


valParam

protected ParamDouble valParam
The val param.

Constructor Detail

PipeDoubleSweepSource

public PipeDoubleSweepSource()
Default constructor.

Method Detail

createInputParams

public ParamCollection createInputParams()
Create input parameters.

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

createOutputParams

public ParamCollection createOutputParams()
Create ouptut parameters.

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

getOutputParam

public ParamModel getOutputParam()
Get output parameter.

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

hasNext

public boolean hasNext()
Return true if iterator has more elements.

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

iterate

public boolean iterate()
Iterate through double values.

Overrides:
iterate in class PipeSource
Returns:
true, if iterate

reset

public void reset()
Reset iterator.

Overrides:
reset in class PipeSource