private class SynchronousCcdDriver.ReduceImage extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private boolean |
cancel
Gets true if we should cancel.
|
private ImageProcessing |
loop
If we have an active post-reducer, i.e.
|
private static long |
REDUCEWAIT |
private SynchronousCcdDriver.MakeImage |
retrieve
The exposure thread that has the fits file.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
ReduceImage(ImageProcessing reduce)
Constructs a new reduce thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Sets the cancel flag.
|
void |
run()
On run, we ask the exposure thread to deliver the last fits file.
|
protected void |
setExposeThread(SynchronousCcdDriver.MakeImage fechi)
Sets the coresponding exposure thread.
|
void |
start() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yieldprivate static final long REDUCEWAIT
private SynchronousCcdDriver.MakeImage retrieve
private boolean cancel
private final ImageProcessing loop
protected ReduceImage(ImageProcessing reduce)
protected void setExposeThread(SynchronousCcdDriver.MakeImage fechi)
public void run()
public void cancel()