90 Alert(std::string_view group, std::string_view text,
Level level);
98 void Set(
bool active);
Level
Represents an alert's level of urgency.
Definition Alert.hpp:41
@ WARNING
Alternate name for a medium priority alert.
Definition Alert.hpp:60
@ LOW
Low priority alert - displayed last with a green "i" symbol.
Definition Alert.hpp:67
@ INFO
Alternate name for a low priority alert.
Definition Alert.hpp:70
@ HIGH
High priority alert - displayed first with a red "X" symbol.
Definition Alert.hpp:47
@ ERROR
Alternate name for a high priority alert.
Definition Alert.hpp:50
@ MEDIUM
Medium priority alert - displayed second with a yellow "!" symbol.
Definition Alert.hpp:57
bool Get() const
Gets whether the alert is active.
std::string GetText() const
Gets the current alert text.
Alert(std::string_view text, Level level)
Creates a new alert in the default group - "Alerts".
void SetText(std::string_view text)
Updates current alert text.
Level GetType() const
Get the type of this alert.
Definition Alert.hpp:124
void Set(bool active)
Sets whether the alert should currently be displayed.
Alert(std::string_view group, std::string_view text, Level level)
Creates a new alert.
A move-only C++ wrapper around a HAL handle.
Definition Types.hpp:16
@ HAL_ALERT_MEDIUM
Medium priority alert - displayed second with a yellow "!" symbol.
Definition Alert.h:37
@ HAL_ALERT_LOW
Low priority alert - displayed last with a green "i" symbol.
Definition Alert.h:45
@ HAL_ALERT_HIGH
High priority alert - displayed first with a red "X" symbol.
Definition Alert.h:29
Definition CvSource.hpp:15