Enum Class LogTable.LoggableType

java.lang.Object
java.lang.Enum<LogTable.LoggableType>
org.littletonrobotics.junction.LogTable.LoggableType
All Implemented Interfaces:
Serializable, Comparable<LogTable.LoggableType>, Constable
Enclosing class:
LogTable

public static enum LogTable.LoggableType extends Enum<LogTable.LoggableType>
Represents all possible data types that can be logged.
  • Enum Constant Details

  • Method Details

    • values

      public static LogTable.LoggableType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LogTable.LoggableType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getWPILOGType

      public String getWPILOGType()
      Returns the standard string type for WPILOGs.
      Returns:
      The type string.
    • getNT4Type

      public String getNT4Type()
      Returns the standard string type for NT4.
      Returns:
      The type string.
    • fromWPILOGType

      public static LogTable.LoggableType fromWPILOGType(String type)
      Returns the type based on a standard string type for WPILOGs.
      Parameters:
      type - The type string;
      Returns:
      The log type.
    • fromNT4Type

      public static LogTable.LoggableType fromNT4Type(String type)
      Returns the type based on a standard string type for NT4.
      Parameters:
      type - The type string;
      Returns:
      The log type.