stella.command
Class TotalOffsetTelescope
java.lang.Object
java.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.CommandEvent
stella.command.OffsetTelescope
stella.command.TotalOffsetTelescope
- All Implemented Interfaces:
- Serializable, AbsoluteOffset, InitializerDepending, ParameterDepending, TelescopeCommand
public class TotalOffsetTelescope
- extends OffsetTelescope
- implements ParameterDepending, InitializerDepending, AbsoluteOffset
The command used during sequences to reset accumulated pointing to a
predefined, fixed value. Normally this command is used with an
initializer string to reset accumulated pointing offsets during dithering.
- See Also:
- Serialized Form
| 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 |
TotalOffsetTelescope
public TotalOffsetTelescope(Object src)
- Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
TotalOffsetTelescope
public TotalOffsetTelescope(Object src,
String id,
long time)
- Constructs a new offset telescope command. The command only gets valid
when either its
OffsetTelescope.parseLine(java.lang.String[]) or the OffsetTelescope.setOffset(double, double)
method are called.
To mark both offsets invalid, NaN is assigned to them.
initWith
public void initWith(String focus)
- If initialized with a parsable double, this gets the focus offset.
- Specified by:
initWith in interface InitializerDepending
registerParameter
public void registerParameter(Parameter offset)
- Registers an parameter set to this command. The parameter handed over
is queried for the constant offsets in azimuth and altitude.
- Specified by:
registerParameter in interface ParameterDepending