com.ionetrics.lib.annotatorcomm
Enum TimeSource

java.lang.Object
  extended by java.lang.Enum<TimeSource>
      extended by com.ionetrics.lib.annotatorcomm.TimeSource
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimeSource>

public enum TimeSource
extends java.lang.Enum<TimeSource>

Annotator Time Source


Enum Constant Summary
GPS
           
INTERNAL_CLOCK
           
IRIG_A_AM
           
IRIG_A_DC
           
IRIG_A_MANCHESTER
           
IRIG_B_AM
           
IRIG_B_DC
           
IRIG_B_MANCHESTER
           
IRIG_D_AM
           
IRIG_D_DC
           
IRIG_D_MANCHESTER
           
IRIG_E_AM
           
IRIG_E_DC
           
IRIG_E_MANCHESTER
           
IRIG_G_AM
           
IRIG_G_DC
           
IRIG_G_MANCHESTER
           
IRIG_H_AM
           
IRIG_H_DC
           
IRIG_H_MANCHESTER
           
 
Method Summary
 long getTimeSource()
          Get the time source.
static TimeSource valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeSource[] 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

INTERNAL_CLOCK

public static final TimeSource INTERNAL_CLOCK

IRIG_A_AM

public static final TimeSource IRIG_A_AM

IRIG_A_MANCHESTER

public static final TimeSource IRIG_A_MANCHESTER

IRIG_A_DC

public static final TimeSource IRIG_A_DC

IRIG_B_AM

public static final TimeSource IRIG_B_AM

IRIG_B_MANCHESTER

public static final TimeSource IRIG_B_MANCHESTER

IRIG_B_DC

public static final TimeSource IRIG_B_DC

IRIG_D_AM

public static final TimeSource IRIG_D_AM

IRIG_D_MANCHESTER

public static final TimeSource IRIG_D_MANCHESTER

IRIG_D_DC

public static final TimeSource IRIG_D_DC

IRIG_E_AM

public static final TimeSource IRIG_E_AM

IRIG_E_MANCHESTER

public static final TimeSource IRIG_E_MANCHESTER

IRIG_E_DC

public static final TimeSource IRIG_E_DC

IRIG_G_AM

public static final TimeSource IRIG_G_AM

IRIG_G_MANCHESTER

public static final TimeSource IRIG_G_MANCHESTER

IRIG_G_DC

public static final TimeSource IRIG_G_DC

IRIG_H_AM

public static final TimeSource IRIG_H_AM

IRIG_H_MANCHESTER

public static final TimeSource IRIG_H_MANCHESTER

IRIG_H_DC

public static final TimeSource IRIG_H_DC

GPS

public static final TimeSource GPS
Method Detail

values

public static final TimeSource[] 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(TimeSource c : TimeSource.values())
        System.out.println(c);

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

valueOf

public static TimeSource 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

getTimeSource

public long getTimeSource()
Get the time source.

Returns:
time source


Copyright © 2006 Ionetrics Corp. All Rights Reserved.