public class SimulatedGpsDevice extends AbstractGPSDevice
caster| Constructor and Description |
|---|
SimulatedGpsDevice(MapApp app) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAllSettings() |
void |
close()
Close the GPS.
|
double |
getCenterX() |
double |
getCenterY() |
javax.swing.JPanel |
getConfigutron()
Returns a property page for configuring the GPS.
|
Constellation |
getConstellation() |
java.lang.String |
getDeviceLabel() |
java.lang.String |
getDeviceType() |
GPSState |
getGpsState()
Returns null if the GPS is not open.
|
double |
getHDOP() |
GPSReading |
getLastReading() |
double |
getPDOP() |
Postprocessing |
getPostprocessing() |
double |
getPredictedPostprocessedAccuracy() |
int |
getStatusCode() |
java.lang.String |
getStatusMessage() |
boolean |
isOpen() |
void |
open()
Open the GPS using the current settings.
|
void |
setCenter(double centerX,
double centerY) |
SurveyedLocation |
surveyLocation()
The simulation GPS does not take advantage of surveyLocation() to do
any special processing, like point averaging.
|
addGPSListener, removeAllListeners, removeGPSListenerpublic SimulatedGpsDevice(MapApp app)
public java.lang.String getDeviceType()
public java.lang.String getDeviceLabel()
public void applyAllSettings()
throws java.io.IOException
java.io.IOExceptionpublic void close()
GPSDevicepublic Constellation getConstellation()
public double getHDOP()
public GPSReading getLastReading()
public SurveyedLocation surveyLocation()
public double getPDOP()
public double getPredictedPostprocessedAccuracy()
public int getStatusCode()
public java.lang.String getStatusMessage()
public boolean isOpen()
public void open()
GPSDevicepublic javax.swing.JPanel getConfigutron()
GPSDevicepublic GPSState getGpsState()
GPSDevicepublic Postprocessing getPostprocessing()
public void setCenter(double centerX,
double centerY)
public double getCenterX()
public double getCenterY()