Package org.esa.snap.core.gpf.graph
Interface GraphProcessingObserver
-
- All Known Implementing Classes:
CommandLineTool
public interface GraphProcessingObserver
This interface can be implemented and added to theGraphProcessor
to get informed about processing steps of a graph.- Since:
- 4.1
- See Also:
GraphProcessor.addObserver(GraphProcessingObserver)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
graphProcessingStarted(GraphContext graphContext)
It is invoked when the graph starts its processing.void
graphProcessingStopped(GraphContext graphContext)
It is invoked when the graph stops its processing.void
tileProcessingStarted(GraphContext graphContext, Rectangle tileRectangle)
It is invoked when the processing of the rectangle starts.void
tileProcessingStopped(GraphContext graphContext, Rectangle tileRectangle)
It is invoked when the processing of the rectangle is done.
-
-
-
Method Detail
-
graphProcessingStarted
void graphProcessingStarted(GraphContext graphContext)
It is invoked when the graph starts its processing.- Parameters:
graphContext
- the graph context being processed
-
graphProcessingStopped
void graphProcessingStopped(GraphContext graphContext)
It is invoked when the graph stops its processing.- Parameters:
graphContext
- the graph context being processed
-
tileProcessingStarted
void tileProcessingStarted(GraphContext graphContext, Rectangle tileRectangle)
It is invoked when the processing of the rectangle starts.- Parameters:
graphContext
- the graph context being processedtileRectangle
- the rectangle currently processed
-
tileProcessingStopped
void tileProcessingStopped(GraphContext graphContext, Rectangle tileRectangle)
It is invoked when the processing of the rectangle is done.- Parameters:
graphContext
- the graph context being processedtileRectangle
- the rectangle currently processed
-
-