gps.log
Class GPSFilterAdvanced
java.lang.Object
gps.log.GPSFilter
gps.log.GPSFilterAdvanced
public class GPSFilterAdvanced
- extends GPSFilter
This class implements a filter for a GPSRecord
.
A GPSRecord
can be presented to the doFilter method and it will
indicate whether the record must be kept or not.
This class simplifies setting filter options in the application.
- Author:
- Mario De Weerd
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GPSFilterAdvanced
public GPSFilterAdvanced()
doFilter
public boolean doFilter(GPSRecord r)
- Description copied from class:
GPSFilter
- Filter the GPS record
- Overrides:
doFilter
in class GPSFilter
- Parameters:
r
- The GPS record
- Returns:
- true if the record is selected by the filter
getMaxDist
public final float getMaxDist()
- Returns:
- Returns the maxDist.
setMaxDist
public final void setMaxDist(float maxDist)
- Parameters:
maxDist
- The maxDist to set.
getMaxHDOP
public final float getMaxHDOP()
- Returns:
- Returns the maxHDOP.
setMaxHDOP
public final void setMaxHDOP(int maxHDOP)
- Parameters:
maxHDOP
- The maxHDOP to set.
getMaxPDOP
public final float getMaxPDOP()
- Returns:
- Returns the maxPDOP.
setMaxPDOP
public final void setMaxPDOP(int maxPDOP)
- Parameters:
maxPDOP
- The maxPDOP to set.
getMaxRecCount
public final int getMaxRecCount()
- Returns:
- Returns the maxRecCnt.
setMaxRecCount
public final void setMaxRecCount(int maxRecCnt)
- Parameters:
maxRecCnt
- The maxRecCnt to set.
getMaxSpeed
public final float getMaxSpeed()
- Returns:
- Returns the maxSpeed.
setMaxSpeed
public final void setMaxSpeed(float maxSpeed)
- Parameters:
maxSpeed
- The maxSpeed to set.
getMaxVDOP
public final float getMaxVDOP()
- Returns:
- Returns the maxVDOP.
setMaxVDOP
public final void setMaxVDOP(int maxVDOP)
- Parameters:
maxVDOP
- The maxVDOP to set.
getMinDist
public final float getMinDist()
- Returns:
- Returns the minDist.
setMinDist
public final void setMinDist(float minDist)
- Parameters:
minDist
- The minDist to set.
getMinNSAT
public final int getMinNSAT()
- Returns:
- Returns the minNSAT.
setMinNSAT
public final void setMinNSAT(int minNSAT)
- Parameters:
minNSAT
- The minNSAT to set.
getMinRecCnt
public final int getMinRecCnt()
- Returns:
- Returns the minRecCnt.
setMinRecCount
public final void setMinRecCount(int minRecCnt)
- Parameters:
minRecCnt
- The minRecCnt to set.
getMinSpeed
public final float getMinSpeed()
- Returns:
- Returns the minSpeed.
setMinSpeed
public final void setMinSpeed(float minSpeed)
- Parameters:
minSpeed
- The minSpeed to set.