|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FaaMode>
net.sf.marineapi.nmea.util.FaaMode
public enum FaaMode
FAA operating modes reported by APB, BWC, BWR, GLL, RMA, RMB, RMC, VTG, WCV and XTE sentences since NMEA 2.3. Also, the mode field in GGA was extended to contain these statuses.
Notice that FAA mode dominates the DataStatus
fields. Status field
will be set to DataStatus.ACTIVE
for modes AUTOMATIC
and
DGPS
, and DataStatus.VOID
for all other modes.
GpsFixQuality
,
GpsFixStatus
,
DataStatus
Enum Constant Summary | |
---|---|
AUTOMATIC
Operating in autonomous mode (automatic 2D/3D). |
|
DGPS
Operating in differential mode (DGPS). |
|
ESTIMATED
Operating in estimating mode (dead-reckoning). |
|
MANUAL
Operating in manual mode (forced 2D or 3D). |
|
NONE
No valid GPS data available. |
|
SIMULATED
Simulated data (running in simulator/demo mode) |
Method Summary | |
---|---|
char |
toChar()
Returns the corresponding char indicator of GPS mode. |
static FaaMode |
valueOf(char ch)
Returns the FaaMode enum corresponding the actual char indicator used in the sentencess. |
static FaaMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FaaMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FaaMode AUTOMATIC
public static final FaaMode MANUAL
public static final FaaMode DGPS
public static final FaaMode ESTIMATED
public static final FaaMode SIMULATED
public static final FaaMode NONE
Method Detail |
---|
public static FaaMode[] values()
for (FaaMode c : FaaMode.values()) System.out.println(c);
public static FaaMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic char toChar()
public static FaaMode valueOf(char ch)
ch
- Char mode indicator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |