Package PamController.masterReference
Class GPSDataSystem
java.lang.Object
PamguardMVC.PamObserverAdapter
PamController.masterReference.GPSDataSystem
- All Implemented Interfaces:
MasterReferenceSystem
,PamObserver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addData
(PamObservable o, PamDataUnit arg) Informs the PamObserver that new data have been added to the Observable classgetError()
getName()
getSpeed()
void
setDisplayTime
(long displayTime) Methods inherited from class PamguardMVC.PamObserverAdapter
getObserverObject, getRequiredDataHistory, masterClockUpdate, noteNewSettings, receiveSourceNotification, removeObservable, setSampleRate, updateData
-
Constructor Details
-
GPSDataSystem
-
-
Method Details
-
getLatLong
- Specified by:
getLatLong
in interfaceMasterReferenceSystem
-
getFixTime
- Specified by:
getFixTime
in interfaceMasterReferenceSystem
-
getCourse
- Specified by:
getCourse
in interfaceMasterReferenceSystem
-
getHeading
- Specified by:
getHeading
in interfaceMasterReferenceSystem
-
getSpeed
- Specified by:
getSpeed
in interfaceMasterReferenceSystem
-
getName
- Specified by:
getName
in interfaceMasterReferenceSystem
-
addData
Description copied from interface:PamObserver
Informs the PamObserver that new data have been added to the Observable class- Specified by:
addData
in interfacePamObserver
- Overrides:
addData
in classPamObserverAdapter
-
getObserverName
- Specified by:
getObserverName
in interfacePamObserver
-
getError
- Specified by:
getError
in interfaceMasterReferenceSystem
-
setDisplayTime
public void setDisplayTime(long displayTime) - Specified by:
setDisplayTime
in interfaceMasterReferenceSystem
-