gps.log.in
Class GPSLogConvertInterface
java.lang.Object
gps.log.in.GPSLogConvertInterface
- Direct Known Subclasses:
- BT747LogConvert, CSVLogConvert, GPXLogConvert, HoluxTrlLogConvert, MultiLogConvert, NMEALogConvert, SkytraqLogConvert, WPLogConvert
public abstract class GPSLogConvertInterface
- extends java.lang.Object
Interface defining a Log conversion class.
- Author:
- Mario De Weerd
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPSLogConvertInterface
public GPSLogConvertInterface()
parseFile
public abstract int parseFile(java.lang.Object file,
GPSFileConverterInterface gpsFile)
- Parses the file once and will use
GPSFile
to generate the
output.
- Parameters:
gpsFile
- Represents the structure to generate the output.
- Returns:
- error indication.
setConvertWGS84ToMSL
public final void setConvertWGS84ToMSL(int mode)
- Height conversion active if true.
- Parameters:
mode
- When '-1' : Substract MSL over WGS84
When '1' : Add MSL over WGS84 in output.
When '0': Do nothing
toGPSFile
public abstract int toGPSFile(BT747Path fileName,
GPSFileConverterInterface gpsFile)
getErrorInfo
public final java.lang.String getErrorInfo()
stopConversion
public void stopConversion()
getType
public abstract int getType()
- Returns:
- log type such as
Model.TRL_LOGTYPE
.
setLoggerType
public void setLoggerType(int loggerType)
getLoggerType
public final int getLoggerType()