Class to get info on simulated alerts.
More...
#include <wpi/simulation/AlertSim.hpp>
|
| static int32_t | GetCount () |
| | Gets the number of alerts.
|
| static std::vector< AlertInfo > | GetAll () |
| | Gets detailed information about each alert.
|
| static void | ResetData () |
| | Resets all alert simulation data.
|
Class to get info on simulated alerts.
◆ AlertSim()
| wpi::sim::AlertSim::AlertSim |
( |
| ) |
|
|
delete |
◆ GetAll()
| std::vector< AlertInfo > wpi::sim::AlertSim::GetAll |
( |
| ) |
|
|
static |
Gets detailed information about each alert.
- Returns
- Alerts
◆ GetCount()
| int32_t wpi::sim::AlertSim::GetCount |
( |
| ) |
|
|
static |
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
◆ ResetData()
| void wpi::sim::AlertSim::ResetData |
( |
| ) |
|
|
static |
Resets all alert simulation data.
The documentation for this class was generated from the following file: