FindIt
Class SinkData

java.lang.Object
  extended by FindIt.SinkData

public class SinkData
extends java.lang.Object

Author:
user

Constructor Summary
SinkData(java.lang.String color)
          Creates a new instance of DataSink,w ho is responsible forthe recording.
 
Method Summary
 void stop(java.lang.String color)
          The stop function that stops the recording for the requested color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinkData

public SinkData(java.lang.String color)
Creates a new instance of DataSink,w ho is responsible forthe recording. Sets the video format who will have the video data output, connects with the data source, gives a name at the file, depanding from the color that is going to sink and the computer's date-time, and starts the video sink for the requested color.

Parameters:
color - a string with the name of the color that ask request to start the recinding for it.
See Also:
ImageProcessor.startRedSink(), ImageProcessor.startOrangeSink(), ImageProcessor.startBrownSink(), ImageProcessor.startYellowSink(), ImageProcessor.startGreenSink(), ImageProcessor.startCyanSink(), ImageProcessor.startBlueSink(), ImageProcessor.startMagentaSink(), ImageProcessor.startPinkSink(), ImageProcessor.startWhiteSink(), ImageProcessor.startBlackSink(), ImageProcessor.startGraySink()
Method Detail

stop

public void stop(java.lang.String color)
The stop function that stops the recording for the requested color.

Parameters:
color - a string with the name of the color that ask request to stop the recinding for it.
See Also:
ImageProcessor.stopRedSink(), ImageProcessor.stopOrangeSink(), ImageProcessor.stopBrownSink(), ImageProcessor.stopYellowSink(), ImageProcessor.stopGreenSink(), ImageProcessor.stopCyanSink(), ImageProcessor.stopBlueSink(), ImageProcessor.stopMagentaSink(), ImageProcessor.stopPinkSink(), ImageProcessor.stopWhiteSink(), ImageProcessor.stopBlackSink(), ImageProcessor.stopGraySink(), ImageProcessor.processImage(), VideoStreamController.step(), ColoredShapesTracker.setRed(boolean), ColoredShapesTracker.setOrange(boolean), ColoredShapesTracker.setBrown(boolean), ColoredShapesTracker.setYellow(boolean), ColoredShapesTracker.setGreen(boolean), ColoredShapesTracker.setCyan(boolean), ColoredShapesTracker.setBlue(boolean), ColoredShapesTracker.setMagenta(boolean), ColoredShapesTracker.setPink(boolean), ColoredShapesTracker.setWhite(boolean), ColoredShapesTracker.setBlack(boolean), ColoredShapesTracker.setGray(boolean), ColoredShapesTracker.close()