ecologylab.sensor.gps.listener
Interface GPSDataUpdatedListener
- All Known Implementing Classes:
- GPSToKMLTrail, ProjectionVisualizer, ProjectionVisualizerPanel
public interface GPSDataUpdatedListener
For classes that need to listen for changes in a GPSDatum. The
getRegisteredChanges() method indicates what kinds of changes the listener is
interested in. Note that in order to ensure high performance, the caller may
not check this every time an event is generated, and so changing what data
the listener is interested in requires removing and re-adding the listener.
- Author:
- Zachary O. Toups (toupsz@cs.tamu.edu)
getInterestSet
java.util.EnumSet<GPSDataUpdatedListener.GPSUpdateInterest> getInterestSet()
- Indicates what changes in GPS datum should trigger a gpsDatumUpdated call
for this.
- Returns:
gpsDatumUpdated
void gpsDatumUpdated(GPSDatum datum)