com.partnersoft.io.gps.trimble
Class SimulationSettings

java.lang.Object
  extended by com.partnersoft.io.gps.trimble.SimulationSettings

public class SimulationSettings
extends java.lang.Object

Note: gets disposed when the GPSReceiver gets disposed.

Author:
Russell Cagle Copyright 2006 Partner Software, Inc.

Method Summary
 void dispose()
          Release all the resources associated with this object.
protected  void finalize()
          Just cals dispose().
 double getAltitude()
           
 java.lang.String getDataFile()
           
 int getDataSource()
           
 double getLatitude()
           
 double getLongitude()
           
 double getRadius()
           
 boolean isSimulationEnabled()
           
 void setAltitude(double argAltitude)
           
 void setDataFile(java.lang.String argDataFile)
           
 void setDataSource(int argDataSource)
           
 void setLatitude(double argLatitude)
           
 void setLongitude(double argLongitude)
           
 void setRadius(double argRadius)
           
 void setSimulationEnabled(boolean argSimulationEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAltitude

public double getAltitude()

setAltitude

public void setAltitude(double argAltitude)

getDataFile

public java.lang.String getDataFile()

setDataFile

public void setDataFile(java.lang.String argDataFile)

getDataSource

public int getDataSource()

setDataSource

public void setDataSource(int argDataSource)

isSimulationEnabled

public boolean isSimulationEnabled()

setSimulationEnabled

public void setSimulationEnabled(boolean argSimulationEnabled)

getLatitude

public double getLatitude()

setLatitude

public void setLatitude(double argLatitude)

getLongitude

public double getLongitude()

setLongitude

public void setLongitude(double argLongitude)

getRadius

public double getRadius()

setRadius

public void setRadius(double argRadius)

dispose

public void dispose()
Release all the resources associated with this object. It's advisable to call this method in a deterministic way rather than let finalize call it, because deterministic errors are easier to track down. log.info("About to call dispose()."); receiver.dispose(); // Could crash in weird ways.


finalize

protected void finalize()
                 throws java.lang.Throwable
Just cals dispose().

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable