public class GuiderAccess extends GenericAccess
GuiderControlling. Warning: This class requires the adapter master
to listen to the altitude and image rotation parameters with its default
names. Access to them should be blocking.| Modifier and Type | Class and Description |
|---|---|
static class |
GuiderAccess.Extract
Test parsing of resources.
|
CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
private float[] |
bv
The
extractStars(java.lang.String) sets this array. |
private double[] |
de
The
extractStars(java.lang.String) sets this array. |
private static Double |
DEFFOV
The field-of-view for unspecified simbad queries.
|
private float[] |
m
The
extractStars(java.lang.String) sets this array. |
static String |
NULLSWITCHES
The command line switches understood by this access class.
|
static String |
ONESWITCHES
The command line switches understood by this access class.
|
private double[] |
ra
The
extractStars(java.lang.String) sets this array. |
static String |
THREESWITCHES |
static String |
TWOSWITCHES
The command line switches understood by this access class.
|
FOOT, USE, ZEROSWITCHESHELPSWITCHES| Constructor and Description |
|---|
GuiderAccess()
Constructs a new building access instance.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
extractStars(String inline)
Parses the star data out of a target xml file.
|
static void |
main(String[] arg)
Access to a calibration-control object.
|
protected boolean |
processSwitches(Remote listener)
Process the command line switches found.
|
private boolean |
setStarArray(List<Star> fov)
Sets the arrays from a field of view.
|
processFor, scanForaddHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usagepublic static final String NULLSWITCHES
public static final String ONESWITCHES
public static final String TWOSWITCHES
public static final String THREESWITCHES
private static final Double DEFFOV
private double[] ra
extractStars(java.lang.String) sets this array.private double[] de
extractStars(java.lang.String) sets this array.private float[] m
extractStars(java.lang.String) sets this array.private float[] bv
extractStars(java.lang.String) sets this array.public GuiderAccess()
protected boolean processSwitches(Remote listener) throws RemoteException
GuiderControlling and one of the switches
defined in
#SWITCHES is given, the appropriate method of the listener
control is called. Note that the command line must be parsed before
calling this method.processSwitches in class GenericAccessRemoteExceptionprivate boolean extractStars(String inline)
inline - xml target definition file.public static void main(String[] arg) throws ParseException, RemoteException, NotBoundException, MalformedURLException