62 static std::vector<AlertInfo>
GetAll();
Level
Represents an alert's level of urgency.
Definition Alert.hpp:41
static std::vector< AlertInfo > GetAll()
Gets detailed information about each alert.
static int32_t GetCount()
Gets the number of alerts.
static void ResetData()
Resets all alert simulation data.
HAL_Handle HAL_AlertHandle
Definition Types.h:19
Definition CTREPCMSim.hpp:13
Information about an alert.
Definition AlertSim.hpp:25
HAL_AlertHandle handle
The handle of the alert.
Definition AlertSim.hpp:27
int64_t activeStartTime
The time the alert became active.
Definition AlertSim.hpp:36
std::string group
The group of the alert.
Definition AlertSim.hpp:30
std::string text
The text of the alert.
Definition AlertSim.hpp:33
bool isActive() const
Returns whether the alert is currently active.
Definition AlertSim.hpp:46
Alert::Level level
The level of the alert (HIGH, MEDIUM, or LOW).
Definition AlertSim.hpp:39