|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
stella.telescope.Waltz.WaltzTask
private class Waltz.WaltzTask
A task that moves the telescope to the provided position. On execution,
the az/alt pait is converted into a ra/dec pair and fueled into a
MoveTelescope command, which is then sent to the appropriate
CommandLauncher.
| Field Summary | |
|---|---|
private CommandLaunching |
atis
The atis server I talk to. |
private Vector2D |
azalt
The az/alt pair. |
private long |
delay
The desired delay period after start of dance. |
| Constructor Summary | |
|---|---|
Waltz.WaltzTask(CommandLaunching telescope,
Vector2D to,
long wait)
Constructs a new waltz task that will send a MoveTelescope
command to this command launcher in its run method. |
|
| Method Summary | |
|---|---|
private long |
getDelay()
Returns the delay period as specified in the configuration file. |
void |
run()
Runs the move command. |
String |
toString()
|
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private CommandLaunching atis
private Vector2D azalt
private long delay
| Constructor Detail |
|---|
public Waltz.WaltzTask(CommandLaunching telescope,
Vector2D to,
long wait)
MoveTelescope
command to this command launcher in its run method.
| Method Detail |
|---|
private long getDelay()
public void run()
run in interface Runnablerun in class TimerTaskpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||