com.partnersoft.gps.postprocessing
Interface Postprocessing


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.

Author:
russell

Method Summary
 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.
 

Method Detail

startJob

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.

Throws:
java.io.IOException

isJobInProgress

boolean isJobInProgress()
                        throws java.io.IOException

Used to detect whether stopJob() needs to be closed.

Returns:
Throws:
java.io.IOException

stopJob

void stopJob()
             throws java.io.IOException

Called to tell the postprocessing system to close a job.

Throws:
java.io.IOException

getCorrectedJob

CorrectedJob 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.

Parameters:
jobFilename -
Returns:
Throws:
java.io.IOException