Class MasterReferencePoint

java.lang.Object
PamController.masterReference.MasterReferencePoint

public class MasterReferencePoint extends Object
Master reference point for PAMGAURD. This is a bit of a stopgap to get some bearing and range info from Landmarks, but may get used later on to contain a list of possible reference marks that can be selected.
Currently gets data from the map whenever GPS updates, or whenever static hydrophone locations update.
Everything static.
Author:
Douglas Gillespie
  • Constructor Details

    • MasterReferencePoint

      public MasterReferencePoint()
  • Method Details

    • notifyModelChanged

      public static void notifyModelChanged(int changeType)
    • getLatLong

      public static LatLong getLatLong()
      Returns:
      the current reference lat long
    • getFixTime

      public static Long getFixTime()
      Returns:
      the time at which the current reference was last updated
    • getCourse

      public static Double getCourse()
      Returns:
      any course information associated with the current reference
    • getHeading

      public static Double getHeading()
      Returns:
      any heading information associated with the current reference
    • getSpeed

      public static Double getSpeed()
      Returns:
      the speed of the reference system.
    • getError

      public static String getError()
      Returns:
      that origin system is Ok.
    • getName

      public static String getName()
      Returns:
      the name of the current reference system.
    • setDisplayTime

      public static void setDisplayTime(long displayTime)
      Used in the viewer if something is scrolling and wants to change the default time.