private class SynchronousCcdDriver.MakeImage extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private boolean |
cancel
True, if this thread should die.
|
private Dimension |
contbin |
private Rectangle |
contbox |
private double |
contexp |
private MFits |
contimage |
private int |
contnr |
private Date |
contobs |
private static long |
JOINEXPOSURE |
private boolean |
ready
True, if the exposure is ready for retrieval.
|
private SynchronousCcdDriver.ReduceImage |
reduce
The reduce thread.
|
private ReadoutProviding |
rotate
If the frame is changing during exposures.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
MakeImage(ReadoutProviding frame)
Constructs a new exposure thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Sets the cancel flag.
|
protected boolean |
isReady()
If true, we have a new image ready, retrievable with
#getLastExposure. |
void |
run()
Starts continuous exposures of the ccd.
|
protected void |
setReduceThread(SynchronousCcdDriver.ReduceImage workhorse)
Sets the reduce thread that belongs to this expsosure 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 JOINEXPOSURE
private SynchronousCcdDriver.ReduceImage reduce
private boolean cancel
private boolean ready
private final ReadoutProviding rotate
private MFits contimage
private Rectangle contbox
private Dimension contbin
private double contexp
private Date contobs
private int contnr
protected MakeImage(ReadoutProviding frame)
protected void setReduceThread(SynchronousCcdDriver.ReduceImage workhorse)
public void run()
public void cancel()
protected boolean isReady()
#getLastExposure.