uk.ac.essex.ia.opview
Class OperatorWaiting

java.lang.Object
  extended by uk.ac.essex.ia.opview.OperatorWaiting

public class OperatorWaiting
extends java.lang.Object

This wraps an operator that is waiting for all its inputs to complete execution before it can begin.

See Also:
You should have received a copy of GNU public license with this code. If not please visit this site

Constructor Summary
OperatorWaiting(int noOfInputs, int noOfThreadsFinished, java.lang.Object firstParameter)
           
 
Method Summary
 void addParameter(java.lang.Object o)
           
 int getNoOfInputs()
           
 int getNoOfThreadsFinished()
           
 java.awt.image.renderable.ParameterBlock getParameters()
           
 void incrementThreadsFinished(java.lang.Object outputData)
           
 boolean isReadyForExecution()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorWaiting

public OperatorWaiting(int noOfInputs,
                       int noOfThreadsFinished,
                       java.lang.Object firstParameter)
Method Detail

getNoOfInputs

public int getNoOfInputs()

getNoOfThreadsFinished

public int getNoOfThreadsFinished()

getParameters

public java.awt.image.renderable.ParameterBlock getParameters()

addParameter

public void addParameter(java.lang.Object o)

isReadyForExecution

public boolean isReadyForExecution()

incrementThreadsFinished

public void incrementThreadsFinished(java.lang.Object outputData)