stella.roof
Interface DomeDriver

All Superinterfaces:
Driver
All Known Implementing Classes:
BaaderDome

public interface DomeDriver
extends Driver

This driver has the ability to control a dome. The dome supports four commands for moving the dome in azimuth direction, as well as methods for opening and closing the hatch.


Method Summary
 boolean closeDome()
          Closes the dome.
 boolean closeHatch()
          Closes the hatch, throws UnsupportedOperationException if not applicabale.
 boolean closeSlit()
          Closes the slit, throws UnsupportedOperationException if not applicabale.
 boolean fastBackward()
          Starts fast backward in azimuth.
 boolean fastForward()
          Starts fast forward in azimuth.
 double getAzimuth()
          Returns the azimuth position of the dome in degrees.
 boolean isDomeClosed()
          Returns true, if dome is closed.
 boolean isDomeOpened()
          Returns true, if dome is open.
 boolean openDome()
          Opens the dome.
 boolean openHatch()
          Opens the hatch, throws UnsupportedOperationException if not applicabale
 boolean openSlit()
          Opens the slit, throws UnsupportedOperationException if not applicabale.
 boolean slowBackward()
          Starts slow backward in azimuth.
 boolean slowForward()
          Starts slow forward in azimuth.
 boolean stopAzimuth()
          Stops the azimuth motor.
 
Methods inherited from interface io.Driver
close, getDriverName, isOpen, open
 

Method Detail

stopAzimuth

boolean stopAzimuth()
                    throws IOException
Stops the azimuth motor.

Throws:
IOException

fastForward

boolean fastForward()
                    throws IOException
Starts fast forward in azimuth. Forward means in normal daily rotation, from south to west.

Throws:
IOException

fastBackward

boolean fastBackward()
                     throws IOException
Starts fast backward in azimuth. Backwards measn against normal daily rotation, from south to east.

Throws:
IOException

slowForward

boolean slowForward()
                    throws IOException
Starts slow forward in azimuth. Forward means in normal daily rotation, from south to west.

Throws:
IOException

slowBackward

boolean slowBackward()
                     throws IOException
Starts slow backward in azimuth. Backwards measn against normal daily rotation, from south to east.

Throws:
IOException

openSlit

boolean openSlit()
                 throws IOException
Opens the slit, throws UnsupportedOperationException if not applicabale.

Throws:
IOException

openHatch

boolean openHatch()
                  throws IOException
Opens the hatch, throws UnsupportedOperationException if not applicabale

Throws:
IOException

openDome

boolean openDome()
                 throws IOException
Opens the dome. This method must be implemented, but can of course fork to openSlit and openHatch.

Throws:
IOException

closeDome

boolean closeDome()
                  throws IOException
Closes the dome. This method must be implemented, but can of course fork to closeSlit and closeHatch.

Throws:
IOException

closeHatch

boolean closeHatch()
                   throws IOException
Closes the hatch, throws UnsupportedOperationException if not applicabale.

Throws:
IOException

closeSlit

boolean closeSlit()
                  throws IOException
Closes the slit, throws UnsupportedOperationException if not applicabale.

Throws:
IOException

isDomeOpened

boolean isDomeOpened()
                     throws IOException
Returns true, if dome is open.

Throws:
IOException

isDomeClosed

boolean isDomeClosed()
                     throws IOException
Returns true, if dome is closed.

Throws:
IOException

getAzimuth

double getAzimuth()
                  throws IOException
Returns the azimuth position of the dome in degrees. Numbering starts at South, increases to West, and goes to East=270.

Throws:
IOException