private class StellaGuider.ExposeThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private boolean |
cancel
True, if this thread should die.
|
private String |
header
If a header is specified on construct, we keep all fits.
|
private File |
lastfits
The last fits file retrieved.
|
private String |
rawname
For permanent storage.
|
private boolean |
ready
True, if the exposure is ready for retrieval.
|
private StellaGuider.ReduceThread |
reduce
The reduce thread.
|
private FrameShifting |
rotate
If the frame is changing during exposures.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
ExposeThread(String keep)
Constructs a new exposure thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Sets the cancel flag.
|
protected File |
getLastExposure()
Returns the last Fits file read.
|
protected boolean |
isReady()
If true, we have a new image ready, retrievable with
getLastExposure(). |
void |
run()
Starts continuous exposures of the ccd.
|
protected void |
setMovingFrame(FrameShifting offaxis)
If we are not guiding on axis, the frame rotates.
|
protected void |
setReduceThread(StellaGuider.ReduceThread workhorse)
Sets the reduce thread that belongs to this expsosure thread.
|
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, start, stop, stop, suspend, toString, yieldprivate String header
private File lastfits
private StellaGuider.ReduceThread reduce
private boolean cancel
private boolean ready
private String rawname
private FrameShifting rotate
protected ExposeThread(String keep)
protected void setReduceThread(StellaGuider.ReduceThread workhorse)
protected void setMovingFrame(FrameShifting offaxis)
public void run()
public void cancel()
protected File getLastExposure()
protected boolean isReady()
getLastExposure().