stella.command
Class AcquireAuxiliary
java.lang.Object
java.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.CommandEvent
stella.command.StarCommand
stella.command.AcquireAuxiliary
- All Implemented Interfaces:
- Serializable, AuxiliaryCommand, InitializerDepending, TargetDependingCommand
public class AcquireAuxiliary
- extends StarCommand
- implements AuxiliaryCommand, InitializerDepending
The acquire command. It is an adapter command because the field-of-view
camera is part of the adapter. This command provides the
current position, brightness (Johnson V) and color index B-V of the
target star.
- See Also:
- Serialized Form
|
Field Summary |
private String |
mode
The acquire mode requested. |
|
Constructor Summary |
AcquireAuxiliary(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time. |
AcquireAuxiliary(Object src,
String type,
long time)
Constructs a move telescope command. |
| Methods inherited from class stella.MessageEvent |
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString |
mode
private String mode
- The acquire mode requested.
AcquireAuxiliary
public AcquireAuxiliary(Object src)
- Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
AcquireAuxiliary
public AcquireAuxiliary(Object src,
String type,
long time)
- Constructs a move telescope command. Only the header is fully qualified
with the provided argumnets. The command line can only be retrieved
after a
DTDConstants.OBJECT
element has been registered to this command.
- See Also:
MessageEvent.isValid()
initWith
public void initWith(String init)
- If a guiding mode is set from the outside.
- Specified by:
initWith in interface InitializerDepending
getLine
public String[] getLine()
- Returns the command line of the move telescope command.
- Overrides:
getLine in class StarCommand
- Returns:
- An array containing all command lines.
additionalCommands
public void additionalCommands(List<String> tokens)
- The additional command line parameter is the acquire mode.
- Specified by:
additionalCommands in class StarCommand
getMode
public String getMode()
- Returns the acquire mode.