public interface Postprocessing
An interface to a device's postprocessing system. Broken out of GPSDevice and into its own interface so that GPS devices that don't do postprocessing don't need to implement all these functions.
| Modifier and Type | Method and Description |
|---|---|
CorrectedJob |
getCorrectedJob(java.lang.String jobFilename)
Always returns a CorrectedJob, even if no corrections
were found.
|
boolean |
isJobInProgress()
Used to detect whether stopJob() needs to be closed.
|
void |
startJob(java.lang.String jobFilename)
This is a generic way to ask the underlying device implementation
to start a job.
|
void |
stopJob()
Called to tell the postprocessing system to close a job.
|
void startJob(java.lang.String jobFilename)
throws java.io.IOException
This is a generic way to ask the underlying device implementation to start a job. The device is expected to record each point collected with surveyLocation() in the job file and provide corrections for the points.
java.io.IOExceptionboolean isJobInProgress()
throws java.io.IOException
Used to detect whether stopJob() needs to be closed.
java.io.IOExceptionvoid stopJob()
throws java.io.IOException
Called to tell the postprocessing system to close a job.
java.io.IOExceptionCorrectedJob getCorrectedJob(java.lang.String jobFilename) throws java.io.IOException
Always returns a CorrectedJob, even if no corrections were found. In that case, the CorrectedJob has the directory and files that it looked for.
jobFilename - java.io.IOException