|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjjil.core.PipelineStage
jjil.core.Ladder
public class Ladder
Ladder manages two pipelines. An image is passed to both. The output of each pipeline is passed to a merge function.
Nested Class Summary | |
---|---|
static interface |
Ladder.Join
The Join interface defines a function which combines two images into one. |
Constructor Summary | |
---|---|
Ladder(PipelineStage pipeFirst,
PipelineStage pipeSecond,
Ladder.Join join)
Creates a new instance of Ladder |
Method Summary | |
---|---|
void |
push(Image image)
Pass the input image to both pipeines, then combine the two outputs into one using the join operation |
Methods inherited from class jjil.core.PipelineStage |
---|
getFront, isEmpty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ladder(PipelineStage pipeFirst, PipelineStage pipeSecond, Ladder.Join join)
pipeFirst
- First pipelinepipeSecond
- Second pipelinejoin
- Join class, which combines the two output images into one.Method Detail |
---|
public void push(Image image) throws Error
push
in class PipelineStage
image
- Input image
Error
- if either pipeline does not produce an output
after being supplied with the input.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |