![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Methods for manipulating alarm. More...
#include "alarm.h"
Public Member Functions | |
Alarm () | |
std::string | getMessage () const |
void | setMessage (std::string const &value) |
AlarmSeverity | getSeverity () const |
void | setSeverity (AlarmSeverity value) |
AlarmStatus | getStatus () const |
void | setStatus (AlarmStatus value) |
Methods for manipulating alarm.
An alarm structure has the following fields:
This is a class that holds values corresponding to the fields in an alarm structure. It is meant to be used together with pvAlarm which allows values to be copied between an alarm structure and this class. This class should not be extended.
|
inline |
|
inline |
AlarmSeverity epics::pvData::Alarm::getSeverity | ( | ) | const |
get the current severity.
Definition at line 58 of file alarm.cpp.
AlarmStatus epics::pvData::Alarm::getStatus | ( | ) | const |
get the current status.
Definition at line 109 of file alarm.cpp.
|
inline |
set the current message.
value | The new message value. |
Definition at line 121 of file alarm.h.
|
inline |
set the current severity.
value | The new severity. |
if | severity value is out of range. |
Definition at line 132 of file alarm.h.
|
inline |