Class Alert.SendableAlerts

java.lang.Object
swervelib.telemetry.Alert.SendableAlerts
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
Enclosing class:
Alert

private static class Alert.SendableAlerts extends Object implements edu.wpi.first.util.sendable.Sendable
Sendable alert for advantage scope.
  • Field Details

    • alerts

      public final List<Alert> alerts
      Alert list for sendable.
  • Constructor Details

    • SendableAlerts

      private SendableAlerts()
  • Method Details

    • getStrings

      public String[] getStrings(Alert.AlertType type)
      Get alerts based off of type.
      Parameters:
      type - Type of alert to fetch.
      Returns:
      Active alert strings.
    • initSendable

      public void initSendable(edu.wpi.first.util.sendable.SendableBuilder builder)
      Specified by:
      initSendable in interface edu.wpi.first.util.sendable.Sendable