Package org.ka2ddo.yaac.gps
Interface GpsDataListener
- All Known Implementing Classes:
AlohaTracker
,BeaconData
,GeographicalMap
,GPSStatusDialog
,GPSStatusPane
,KenwoodRadioViewPane
,LineOfSightPane
,YAAC
public interface GpsDataListener
Implementors of this interface can be notified when GPS data is updated.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionvoid
gpsDataUpdated
(GPSDistributor distributor, GpsFix currentFix, boolean isLocal, String source) Called by the GPSDistributor when the GPS data has been updated.void
satDataUpdated
(GPSDistributor distributor, SatelliteCatalog satCatalog, boolean isLocal, String source) Called when the satellite constellation in use changes.
-
Method Details
-
gpsDataUpdated
Called by the GPSDistributor when the GPS data has been updated.- Parameters:
distributor
- instance of the GPSDistributorcurrentFix
- current position data reported by the local GPSisLocal
- boolean true if this is GPS data for the local station, false if for a remote GPS receiversource
- String name assigned to remote GPS receiver, or null if for the local receiver
-
satDataUpdated
void satDataUpdated(GPSDistributor distributor, SatelliteCatalog satCatalog, boolean isLocal, String source) Called when the satellite constellation in use changes.- Parameters:
distributor
- instance of the GPSDistributorsatCatalog
- updated SatelliteCatalog instanceisLocal
- boolean true if this is GPS data for the local station, false if for a remote GPS receiversource
- String name assigned to remote GPS receiver, or null if for the local receiver
-