ecologylab.sensor.gps.data.dataset
Enum RMC

java.lang.Object
  extended by java.lang.Enum<RMC>
      extended by ecologylab.sensor.gps.data.dataset.RMC
All Implemented Interfaces:
GPSDataFieldBase, java.io.Serializable, java.lang.Comparable<RMC>

public enum RMC
extends java.lang.Enum<RMC>
implements GPSDataFieldBase

According to GPS Basics: TheRMCdata set (Recommended Minimum Specific GNSS) contains information on time, latitude, longitude and height, system status, speed, course and date.This data set is relayed by all GPS receivers.

Author:
Zachary O. Toups (toupsz@cs.tamu.edu)

Enum Constant Summary
ADJ_DECLIN
           
CHECKSUM
           
COURSE
           
DATE
           
EWLON
           
GPS_QUAL_X
           
LAT
           
LON
           
NSLAT
           
SPEED
           
UTC_POS_TIME
           
WEST_DECLIN
           
 
Method Summary
 void update(java.lang.String src, GPSDatum dst)
          Updates dst's internal data by parsing src according to the interpretation of the current mode.
static RMC valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RMC[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UTC_POS_TIME

public static final RMC UTC_POS_TIME

GPS_QUAL_X

public static final RMC GPS_QUAL_X

LAT

public static final RMC LAT

NSLAT

public static final RMC NSLAT

LON

public static final RMC LON

EWLON

public static final RMC EWLON

SPEED

public static final RMC SPEED

COURSE

public static final RMC COURSE

DATE

public static final RMC DATE

ADJ_DECLIN

public static final RMC ADJ_DECLIN

WEST_DECLIN

public static final RMC WEST_DECLIN

CHECKSUM

public static final RMC CHECKSUM
Method Detail

values

public static final RMC[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RMC c : RMC.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RMC valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

update

public void update(java.lang.String src,
                   GPSDatum dst)
Updates dst's internal data by parsing src according to the interpretation of the current mode.

Specified by:
update in interface GPSDataFieldBase
Parameters:
data -
decLoc -
dst -