ccd
Class SynchronousCcdDriver.ExposureThread
java.lang.Object
java.lang.Thread
util.ExitThread
ccd.SynchronousCcdDriver.ExposureThread
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- SynchronousCcdDriver<T>
protected class SynchronousCcdDriver.ExposureThread
- extends ExitThread
An exposure thread simly calls CcdDriver.expose() or CcdDriver.exposeDark(),
depending on the argument it was constructed with.
|
Method Summary |
protected boolean |
runner()
Does the expoure by calling the appropriate outer class method. |
| Methods inherited from class java.lang.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, yield |
how
private AbstractCcdDriver.Exposure how
- The flag to the method to call.
SynchronousCcdDriver.ExposureThread
protected SynchronousCcdDriver.ExposureThread(AbstractCcdDriver.Exposure flag)
- Constructs a new exposure thread without starting it. The argument
specifies the action undertaken in the run method.
- Parameters:
flag - Either #EXPOSURE or #DARKEXPOSURE
runner
protected boolean runner()
throws IOException
- Does the expoure by calling the appropriate outer class method. If
an
IOException happens during the exposure, the thread is
interrupted.
- Specified by:
runner in class ExitThread
- Throws:
IOException