public abstract class StarFieldOfView extends ErrorEvent
FindAdapter or as
seen on the
guider, prior and after cleaning of non-stars.| Modifier and Type | Field and Description |
|---|---|
private int |
count
The exposure number of the current acquire/guideing try.
|
private static String |
FOLLOWUP
The follow-up (none).
|
private static boolean |
PIPING
The pipe flag (true).
|
private static long |
serialVersionUID |
private static int |
SEVERENESS
The severness level (interesting importance).
|
private List<Glint> |
stars
The list of
Guiding.RawStars. |
private Object |
unique
The unique id of the current observation.
|
private String |
unit
The type of unit this field-of-view belongs to.
|
ABORT_EXPOSURE, ABORT_TARGET, ALARM_OFF, ALARM_ON, BAD_SEEING, BAD_WEATHER, CLEAR_TEL, CLOSE_COVER, CLOSE_ROOF, CLOSE_SHUTTER, CONT_TIME, ERROR_TOKEN, ERRORCOMBINE, ERRORPACKAGE, GOOD_WEATHER, HIGH_WIND, MAIL_HOME, MAIL_LOCAL, MOVE_HOME, MOVE_PARK, NONE, OPEN_COVER, OPEN_SHUTTER, PIPE, REACQUIRE, REPOSITION, RESEND_COMMAND, RESET_ADAPTER, RESET_CALIBRATION, RESET_CCD, RESET_ENV, RESET_ERRORS, RESET_SPEC, RESET_TEL, SHUT_DOWN, STATUS_TOKEN, STOP_TIMESEPCHARlocalHost, sourceNamesource| Modifier | Constructor and Description |
|---|---|
protected |
StarFieldOfView(Object src)
Constructs a new field-of-view.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSourceType()
Returns the type of adapter/auxiliar unit that produed this event.
|
List<Glint> |
getStars()
Returns the List of stars.
|
int |
getTry()
Returns the running number in the adapter.
|
Object |
getUnique()
Returns the unique object id this event was generated within.
|
boolean |
parseLine(String[] all)
Parses the command lines submitted with the adapter fwhm status.
|
void |
setID(String type,
Object uniq,
int expnr)
Sets the ID of this status, which is the unit type that produced this
event, the current unique number and the current exposure number.
|
void |
setStars(List<? extends Glint> catalog)
Sets the fwhm and the flux.
|
consume, createError, createError, createError, createError, createError, createStatus, createStatus, createStatus, extractClassName, extractFollowUp, extractPipe, getErrorClass, getFollowUp, getHuman, getLine, getSevereness, isConsumed, isPipe, isStatus, parseClassName, parseHeader, setFollowUp, setHuman, setHuman, setPipecheckType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourceprivate static final long serialVersionUID
private static final int SEVERENESS
private static final String FOLLOWUP
private static final boolean PIPING
private List<Glint> stars
Guiding.RawStars.private String unit
private Object unique
private int count
protected StarFieldOfView(Object src)
public boolean parseLine(String[] all)
#fwhm and the #flux using the
Strings#parseNumbers method.parseLine in class ErrorEventpublic void setStars(List<? extends Glint> catalog)
newfwhm - The FWHM this status event should carry.newflux - The flux this status event should carry.public void setID(String type, Object uniq, int expnr)
public String getSourceType()
public Object getUnique()
public int getTry()