Package GPS

Class ProcessHeadingData

All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class ProcessHeadingData extends PamProcess
  • Constructor Details

    • ProcessHeadingData

      public ProcessHeadingData(GPSControl gpsControl)
  • Method Details

    • noteNewSettings

      public void noteNewSettings()
      Specified by:
      noteNewSettings in interface PamObserver
      Overrides:
      noteNewSettings in class PamProcess
    • newData

      public void newData(PamObservable o, PamDataUnit arg)
      Overrides:
      newData in class PamProcess
    • notifyModelChanged

      public void notifyModelChanged(int changeType)
      Overrides:
      notifyModelChanged in class PamProcess
    • getTrueHeading

      public Double getTrueHeading()
      Returns:
      the trueHeading
    • getMagneticHeading

      public Double getMagneticHeading()
      Returns:
      the magneticHeading
    • getTrueTime

      public long getTrueTime()
      Returns:
      the trueTime
    • getMagneticTime

      public long getMagneticTime()
      Returns:
      the magneticTime
    • getMagneticVariation

      public Double getMagneticVariation()
      Returns:
      the magneticVariation
    • pamStart

      public void pamStart()
      Description copied from class: PamProcess
      Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).
      Specified by:
      pamStart in class PamProcess
    • pamStop

      public void pamStop()
      Description copied from class: PamProcess
      Stops the process.
      Specified by:
      pamStop in class PamProcess