|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GpsMonitor
This class is for running the GpsMonitor iPAQ Application.
Field Summary | |
private gps_monitor.util.Position |
chart_pos
|
private gps_monitor.util.ChartData |
chartdata
|
private gps_monitor.gps.GpsGenerator |
gps
|
private gps_monitor.gui.GpsMonitorUI |
monitorUI
|
Constructor Summary | |
GpsMonitor(java.lang.String user,
java.lang.String inputPort,
boolean sim,
int port)
Constructor that creates an instance of GpsMonitor. |
Method Summary | |
private gps_monitor.util.Position |
calcPred(gps_monitor.util.Position pos)
Calculate where we will be in |
static void |
main(java.lang.String[] argv)
The main method that creates an instance of GpsMontior according to a command-line argument. |
private void |
pollGps()
This method updates the GUI with the latest values available from the GPS. |
private void |
readData(java.lang.String file_name)
Read calibration data from file. |
private void |
runMonitor()
This loop continues polling the widget until the application is shut down. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private gps_monitor.gui.GpsMonitorUI monitorUI
private gps_monitor.gps.GpsGenerator gps
private gps_monitor.util.Position chart_pos
private gps_monitor.util.ChartData chartdata
Constructor Detail |
public GpsMonitor(java.lang.String user, java.lang.String inputPort, boolean sim, int port)
user
- The object/gps device we are monitoringlocationUtils.GpsMonitorUI
,
NmeaSerialGps
Method Detail |
private void runMonitor()
private void pollGps()
public static void main(java.lang.String[] argv)
private void readData(java.lang.String file_name)
private gps_monitor.util.Position calcPred(gps_monitor.util.Position pos)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |