public abstract class WebcamTask
extends java.lang.Object
Constructor and Description |
---|
WebcamTask(boolean threadSafe,
WebcamDevice device) |
WebcamTask(WebcamDevice device) |
WebcamTask(WebcamDriver driver,
WebcamDevice device) |
Modifier and Type | Method and Description |
---|---|
WebcamDevice |
getDevice() |
java.lang.Throwable |
getThrowable() |
protected abstract void |
handle() |
void |
process()
Process task by processor thread.
|
void |
setThrowable(java.lang.Throwable t) |
public WebcamTask(boolean threadSafe, WebcamDevice device)
public WebcamTask(WebcamDriver driver, WebcamDevice device)
public WebcamTask(WebcamDevice device)
public WebcamDevice getDevice()
public void process() throws java.lang.InterruptedException
java.lang.InterruptedException
- when thread has been interruptedpublic java.lang.Throwable getThrowable()
public void setThrowable(java.lang.Throwable t)
protected abstract void handle()
Copyright © 2012-2018 Bartosz Firyn (SarXos). All Rights Reserved.