34 #ifndef ALARMSTATUSENTRY_H
35 #define ALARMSTATUSENTRY_H
249 #endif // ALARMSTATUSENTRY_H
const std::string & getPVName() const noexcept
Query PV name.
#define final
Allow using the final keyword with GCC < 4.7.
Compatibility macros for older versions of the GCC.
std::string _status
The alarm status of the PV.
~AlarmStatusEntry() noexcept
Destructor.
void setSeverity(const std::string &severity) noexcept
Change the severity.
void setDesktopNotificationSent(const bool desktopNotificationSent) noexcept
Change desktop notification flag.
std::string _severity
The severity of the alarm.
Entry in the AlarmServerConnector statusmap.
time_t _triggertime
Time the alarm message was received.
bool getEmailNotificationSent() const noexcept
Query e-mail notification flag.
bool _emailNotificationSent
Flag for sent e-mail notification.
Namespace for Alarm Notifications application.
void setStatus(const std::string &status) noexcept
Change the status.
#define noexcept
Allow using the noexcept keyword with GCC < 4.6.
std::string _pvname
Name of the PV.
time_t getTriggerTime() const noexcept
Query the trigger time.
const std::string & getSeverity() const noexcept
Query the severity.
void setTriggerTime(const time_t triggertime) noexcept
Change the trigger time_t.
AlarmStatusEntry(const std::string &pvname, const std::string &severity, const std::string &status) noexcept
Constructor.
void setEmailNotificationSent(const bool emailNotificationSent) noexcept
Change e-mail notification flag.
bool getDesktopNotificationSent() const noexcept
Query desktop notification flag.
bool _desktopNotificationSent
Flag for sent desktop notification.
void update(const AlarmStatusEntry &newdata) noexcept
Update severity and status data.
const std::string & getStatus() const noexcept
Query the status.