Bartosz Firyn (SarXos)

com.github.sarxos.webcam
Class WebcamTask

java.lang.Object
  extended by com.github.sarxos.webcam.WebcamTask
Direct Known Subclasses:
WebcamCloseTask, WebcamDisposeTask, WebcamOpenTask, WebcamReadBufferTask, WebcamReadImageTask

public abstract class WebcamTask
extends Object


Constructor Summary
WebcamTask(WebcamDriver driver, WebcamDevice device)
           
 
Method Summary
 WebcamDevice getDevice()
           
 Throwable getThrowable()
           
 void process()
          Process task by processor thread.
 void setThrowable(Throwable t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebcamTask

public WebcamTask(WebcamDriver driver,
                  WebcamDevice device)
Method Detail

getDevice

public WebcamDevice getDevice()

process

public void process()
             throws InterruptedException
Process task by processor thread.

Parameters:
processor - the processor to be used to process this task
Throws:
InterruptedException - when thread has been interrupted

getThrowable

public Throwable getThrowable()

setThrowable

public void setThrowable(Throwable t)

Bartosz Firyn (SarXos)

Copyright © 2012-2013 Bartosz Firyn (SarXos). All Rights Reserved.