Class AlertSim

java.lang.Object
org.wpilib.simulation.AlertSim

public final class AlertSim extends Object
Simulation for alerts.
  • Method Details

    • getCount

      public static int getCount()
      Gets the number of alerts. Note: this is not guaranteed to be consistent with the number of alerts returned by GetAll.
      Returns:
      the number of alerts
    • getAll

      public static AlertSim.AlertInfo[] getAll()
      Gets detailed information about each alert.
      Returns:
      Alerts
    • resetData

      public static void resetData()
      Resets all alert simulation data.