|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jhu.ece.iacl.jist.pipeline.PipeModule
edu.jhu.ece.iacl.jist.pipeline.PipeSource
public abstract class PipeSource
Module for generating parameters used as input to algorithm modules.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.jhu.ece.iacl.jist.pipeline.PipeModule |
---|
PipeModule.PipeListener |
Field Summary | |
---|---|
protected PipeChildPort |
childPort
Port for child source. |
protected boolean |
isReset
Flag for source is reset after iterating through all parameter values. |
protected PipeParentPort |
parentPort
Port for parent source. |
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 | |
---|---|
PipeSource()
Constructor for source creates all associated input and output parameters. |
Method Summary | |
---|---|
protected abstract ParamCollection |
createInputParams()
Create input parameters for this source. |
PipeSourceFactory.SourceCell |
createModuleCell()
Create new graph cell for this source. |
protected abstract ParamCollection |
createOutputParams()
Create output parameters for this source. |
void |
disconnect()
Disconnect this module and all connections to this module. |
PipeChildPort |
getChildPort()
Get port for child connection. |
abstract ParamModel |
getOutputParam()
Get parameter representing the output to this source. |
PipeParentPort |
getParentPort()
Get port for parent connection. |
PipeSource |
getRoot()
Find the root source starting from this source. |
boolean |
hasNext()
Returns true if there are more parameter values. |
PipeModuleCell |
init(PipeJGraph graph)
Initialize fields that could not be deserialized. |
boolean |
isRoot()
Returns true if this source is a root. |
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.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 |
---|
protected PipeParentPort parentPort
protected PipeChildPort childPort
protected transient boolean isReset
Constructor Detail |
---|
public PipeSource()
Method Detail |
---|
protected abstract ParamCollection createInputParams()
public PipeSourceFactory.SourceCell createModuleCell()
createModuleCell
in class PipeModule
protected abstract ParamCollection createOutputParams()
public void disconnect()
disconnect
in class PipeModule
public PipeChildPort getChildPort()
public abstract ParamModel getOutputParam()
public PipeParentPort getParentPort()
public PipeSource getRoot()
public boolean hasNext()
public PipeModuleCell init(PipeJGraph graph)
init
in class PipeModule
graph
- the graph
public boolean isRoot()
isRoot
in class PipeModule
public boolean iterate()
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |