stella.command
Class SetGuideStarAuxiliary

java.lang.Object
  extended by java.util.EventObject
      extended by util.rmi.RmiEvent
          extended by stella.MessageEvent
              extended by stella.CommandEvent
                  extended by stella.command.StarCommand
                      extended by stella.command.SetGuideStarAuxiliary
All Implemented Interfaces:
Serializable, AuxiliaryCommand, TargetDependingCommand

public class SetGuideStarAuxiliary
extends StarCommand
implements AuxiliaryCommand

The command to explicetly set a guide star. It is mainly used on targets, where the main science field is not identical to the star used for guiding in the auxiliary telescope. This command provides the current position, brightness (Johnson V) and color index B-V of the target star.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class stella.CommandEvent
CommandEvent.Create
 
Field Summary
 
Fields inherited from class stella.CommandEvent
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATOR
 
Fields inherited from class stella.MessageEvent
SEPCHAR
 
Fields inherited from class util.rmi.RmiEvent
localHost, sourceName
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SetGuideStarAuxiliary(Object src)
          Constructs a abort adapter telescope, grabbing the type from the class name and setting the command time to the current system time.
SetGuideStarAuxiliary(Object src, String type, long time)
          Constructs a move telescope command.
 
Method Summary
 void additionalCommands(List<String> tokens)
          No additional tokens.
 
Methods inherited from class stella.command.StarCommand
getBV, getDec, getLine, getMag, getRa, getStar, parseLine, registerTargetProperties
 
Methods inherited from class stella.CommandEvent
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, parseForStrings, templateToClassName
 
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
 
Methods inherited from class util.rmi.RmiEvent
getHost, getSourceName, setSourceName
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetGuideStarAuxiliary

public SetGuideStarAuxiliary(Object src)
Constructs a abort adapter telescope, grabbing the type from the class name and setting the command time to the current system time.


SetGuideStarAuxiliary

public SetGuideStarAuxiliary(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()
Method Detail

additionalCommands

public void additionalCommands(List<String> tokens)
No additional tokens.

Specified by:
additionalCommands in class StarCommand