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

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.PipeExternalSource
All Implemented Interfaces:
PipePort.PortListener, ParamViewObserver
Direct Known Subclasses:
PipeDoubleCollectionExternalSource, PipeDoubleExternalSource, PipeFileCollectionExternalSource, PipeFileExternalSource, PipeIntegerCollectionExternalSource, PipeIntegerExternalSource, PipeSelectionExternalSource, PipeSurfaceCollectionExternalSource, PipeSurfaceExternalSource, PipeVolumeCollectionExternalSource, PipeVolumeExternalSource

public abstract class PipeExternalSource
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
 
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
PipeExternalSource()
          Instantiates a new pipe integer sweep source.
 
Method Summary
 ParamModel getDefaultParam()
           
 ParamModel 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
createInputParams, createModuleCell, createOutputParams, 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
 

Constructor Detail

PipeExternalSource

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

Method Detail

getDefaultParam

public ParamModel getDefaultParam()

getOutputParam

public ParamModel 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