Class AlertSim
java.lang.Object
org.wpilib.simulation.AlertSim
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AlertSim.AlertInfo[]getAll()Gets detailed information about each alert.static intgetCount()Gets the number of alerts.static voidResets all alert simulation data.
-
Method Details
-
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
Gets detailed information about each alert.- Returns:
- Alerts
-
resetData
Resets all alert simulation data.
-