public abstract class LaserAzAltList extends LaserAzAltDistance implements Refreshing, Initializable, TargetDependDecreasing
| Modifier and Type | Class and Description |
|---|---|
static class |
LaserAzAltList.LaserPointing |
LaserAzAltDistance.Randomize, LaserAzAltDistance.StepperPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static long |
DEFREFRESH
The default refresh rate.
|
static String |
KEY_REFRESH
The key to the refresh intervall, in ms.
|
private NavigableMap<Date,LaserAzAltList.LaserPointing> |
when
The date of the laser-pointing start to the pointing.
|
DEFNAME, KEY_ALTTARGET, KEY_AZTARGET, KEY_DECTARGET, KEY_LATITUDE, KEY_TAUTARGETKEY_INDEXKEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
LaserAzAltList(Map<String,String> prop) |
| Modifier and Type | Method and Description |
|---|---|
Vector2D |
getCurrentLaser()
Gets the aziumth and altitde, both, in degrees of the current Laser
pointing.
|
Long |
getDescendTime(Number until)
Calculates the remaining time in ms till this parameter reaches the
argument value (decresing from higher values).
|
Long |
getDescendTimeFor(TargetDefinition target,
Number until)
Calculates the remaining time in ms till this parameter reaches the
argument value (decresing from higher values).
|
Vector2D |
getLaserIn(double sec) |
Collection<LaserAzAltList.LaserPointing> |
getLaserPointings()
Returns the list of known pointings, ordered to ascending date.
|
long |
getRefreshInterval()
We are a cron for 10 minutes..
|
void |
init()
Initializes the parameter with its class name.
|
boolean |
isFixedRate()
We are a cron for 10 minutes.
|
void |
refresh()
Retrieves the list of of laser pointings and updates the internal lookup
table.
|
protected abstract List<LaserAzAltList.LaserPointing> |
refreshList()
Fetches the list of scheduled laser pointing from an outside source.
|
getArcDerivativeTimeSinD, getArcDistance, getArcTime, getArcTimeFor, getDerivative, getExtremalTau, getExtremalTime, getExtremalTimeFor, getForTarget, getForTargetIn, getLatitude, getTargetAzAlt, getTargetAzAltFor, getTargetAzAltForIn, getTargetAzAltIn, getTauForArc, getValue, getValueIn, registerParameter, registerTarget, rescanned, setValueget, setgetAsStar, getConstant, getFormattedFor, getSetupcreateParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, overrideDefaultName, register, setName, toStringclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreloadgetFormattedForgetFormatted, getName, getStringdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiespublic static final String KEY_REFRESH
private static final long DEFREFRESH
private NavigableMap<Date,LaserAzAltList.LaserPointing> when
public void init()
throws InitException
AbstractParameterinit in interface Initializableinit in class AbstractParameterInitExceptionpublic boolean isFixedRate()
isFixedRate in interface Refreshingpublic long getRefreshInterval()
getRefreshInterval in interface Refreshingpublic void refresh()
refresh in interface Refreshingpublic Long getDescendTimeFor(TargetDefinition target, Number until)
getDescendTimeFor in interface TargetDependDecreasinguntil - The value in the future.public Long getDescendTime(Number until)
getDescendTime in interface Decreasinguntil - The value in the future.public Vector2D getCurrentLaser()
LaserAzAltDistancegetCurrentLaser in class LaserAzAltDistancepublic Vector2D getLaserIn(double sec)
public Collection<LaserAzAltList.LaserPointing> getLaserPointings()
protected abstract List<LaserAzAltList.LaserPointing> refreshList()