Package edu.wpi.grip.core
Interface Operation
-
- All Known Subinterfaces:
CVOperation
- All Known Implementing Classes:
BlurOperation
,CannyEdgeOperation
,CascadeClassifierOperation
,ConvexHullsOperation
,CropOperation
,CudaOperation
,DesaturateOperation
,DistanceTransformOperation
,FilterContoursOperation
,FilterLinesOperation
,FindBlobsOperation
,FindContoursOperation
,FindLinesOperation
,HSLThresholdOperation
,HSVThresholdOperation
,HttpPublishOperation
,MaskOperation
,MatFieldAccessor
,MinMaxLoc
,NetworkPublishOperation
,NewPointOperation
,NewSizeOperation
,NormalizeOperation
,NTPublishAnnotatedOperation
,PublishAnnotatedOperation
,PublishVideoOperation
,PythonScriptOperation
,ResizeOperation
,RGBThresholdOperation
,ROSPublishOperation
,SaveImageOperation
,SwitchOperation
,ThresholdMoving
,ThresholdOperation
,ValveOperation
,WatershedOperation
public interface Operation
The common interface used byStep
s in a pipeline to call various operations. Each instance of an operation in the pipeline is handled by a unique instance of thatOperation
class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
cleanUp()
Allows the step to clean itself up when removed from the pipeline.java.util.List<InputSocket>
getInputSockets()
java.util.List<OutputSocket>
getOutputSockets()
void
perform()
Performs thisOperation
.
-
-
-
Method Detail
-
getInputSockets
java.util.List<InputSocket> getInputSockets()
- Returns:
- A list of sockets for the inputs that the operation expects.
-
getOutputSockets
java.util.List<OutputSocket> getOutputSockets()
- Returns:
- A list of sockets for the outputs that the operation produces.
-
perform
void perform()
Performs thisOperation
.
-
cleanUp
default void cleanUp()
Allows the step to clean itself up when removed from the pipeline. This should only be called byStep.setRemoved()
to ensure correct synchronization.
-
-