Class BaseAttitudeDataServer<A extends IAttitude>

java.lang.Object
gaiasky.util.gaia.BaseAttitudeDataServer<A>
Direct Known Subclasses:
AnalyticalAttitudeDataServer, NumericalAttitudeDataServer

public abstract class BaseAttitudeDataServer<A extends IAttitude> extends Object
  • Field Details Link icon

    • initialized Link icon

      protected boolean initialized
      Some scanning laws have constants or tables for interpolation that need to be computed before the first use and recomputed after changing certain reference values. This flag indicates that the constants or tables (whatever applicable) are up-to-date.
    • nativeTimeContext Link icon

      protected TimeContext nativeTimeContext
      native and initially requested time context of the server - has to be set by the implementing class
    • initialRequestedTimeContext Link icon

      protected TimeContext initialRequestedTimeContext
    • withUncertaintiesCorrelations Link icon

      protected boolean withUncertaintiesCorrelations
      switch to decide if attitude uncertainties and correlations should be calculated
  • Constructor Details Link icon

    • BaseAttitudeDataServer Link icon

      public BaseAttitudeDataServer()
  • Method Details Link icon

    • isInitialized Link icon

      public boolean isInitialized()
      Returns:
      Returns the initialised.
    • setInitialized Link icon

      public void setInitialized(boolean initialized)
    • getAttitude Link icon

      public A getAttitude(Date date)
    • getAttitude Link icon

      public A getAttitude(Instant instant)
    • getAttitude Link icon

      public A getAttitude(long time)
      Parameters:
      time - The elapsed time in nanoseconds since J2010
    • getAttitudeNative Link icon

      protected abstract A getAttitudeNative(long time)
      Evaluate the attitude in the native time system of the server
    • getRefTime Link icon

      public long getRefTime()
      Returns:
      The reference time in ns
    • setRefTime Link icon

      public void setRefTime(long t)
      Parameters:
      t - Reference time in nanoseconds (jd)