public enum NavigationSignalTrackingType extends Enum<NavigationSignalTrackingType> implements Enumeration
NavigationReceiverChannel
.
For GpsReceivers
that use
NavigationSignals
that
require a handover, identify the initial tracking signal(s) with
NavigationSignalTrackingType.STARTING
and the other signal(s) with NavigationSignalTrackingType.MAINTAINING
.
This will ensure tracking occurs correctly.
For example, a NavigationReceiverChannel
tracking L1 CA code initially and transferring
to L1 PY and L2 PY will have these three signals in its
NavigationSignalCollection
.
The L1 CA NavigationSignal
will have
Tracking
(get
/ set
) set to NavigationSignalTrackingType.STARTING
,
while the two PY signals will have
Tracking
(get
/ set
) set to NavigationSignalTrackingType.MAINTAINING
.
Enum Constant and Description |
---|
MAINTAINING
Identifies a signal used to maintain tracking in a
NavigationReceiverChannel . |
STARTING
Identifies a signal used to start tracking in a
NavigationReceiverChannel . |
Modifier and Type | Method and Description |
---|---|
static NavigationSignalTrackingType |
getDefault()
Get the enum constant that is considered to be the default.
|
static NavigationSignalTrackingType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static NavigationSignalTrackingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NavigationSignalTrackingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NavigationSignalTrackingType STARTING
NavigationReceiverChannel
.public static final NavigationSignalTrackingType MAINTAINING
NavigationReceiverChannel
.public static NavigationSignalTrackingType[] values()
for (NavigationSignalTrackingType c : NavigationSignalTrackingType.values()) System.out.println(c);
public static NavigationSignalTrackingType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static NavigationSignalTrackingType getFromValue(int value)
value
- a numeric value.@Nonnull public static NavigationSignalTrackingType getDefault()