|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placelab.spotter.AbstractSpotter
org.placelab.spotter.NMEAGPSSpotter
org.placelab.spotter.FakeNMEAGPSSpotter
For testing purposes.
| Constructor Summary | |
FakeNMEAGPSSpotter(java.lang.String name)
|
|
| Method Summary | |
void |
close()
Unloads resources used by the spotter. |
void |
open()
Load resources used by the spotter. |
void |
sendASentence(java.lang.String sentence)
Send a sentence, complete with checksum, to the gps device. |
protected void |
startScanningImpl()
Begin collecting and processing sentences from the gps device, handing them off to the NMEAGPSSpotter.lineAvailable(String) method
as they are read in. |
protected void |
stopScanningImpl()
Stop collecting sentences from the gps device |
| Methods inherited from class org.placelab.spotter.NMEAGPSSpotter |
getMeasurement, lineAvailable, measurementAvailable, startScanning, startScanning, stopScanning |
| Methods inherited from class org.placelab.spotter.AbstractSpotter |
addListener, notifyEndOfScan, notifyEndOfScan, notifyGotException, notifyGotException, notifyGotMeasurement, notifyGotMeasurement, removeListener, scanOnce, scanOnce, waitForThread |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FakeNMEAGPSSpotter(java.lang.String name)
| Method Detail |
public void open()
Spotter
public void close()
Spotter
public void sendASentence(java.lang.String sentence)
NMEAGPSSpotter
sendASentence in class NMEAGPSSpotterprotected void startScanningImpl()
NMEAGPSSpotterNMEAGPSSpotter.lineAvailable(String) method
as they are read in.
startScanningImpl in class NMEAGPSSpotterprotected void stopScanningImpl()
NMEAGPSSpotter
stopScanningImpl in class NMEAGPSSpotter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||