![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Methods for accessing an alarm structure. More...
#include "pvAlarm.h"
Public Member Functions | |
PVAlarm () | |
bool | attach (PVFieldPtr const &pvField) |
void | detach () |
bool | isAttached () |
void | get (Alarm &alarm) const |
bool | set (Alarm const &alarm) |
Methods for accessing an alarm structure.
An alarm structure has the following fields:
This class can be attached to an alarm structure field of any PVData object. The methods provide access to the fields in the attached structure, via an instance of class Alarm. This class should not be extended.
|
inline |
bool epics::pvData::PVAlarm::attach | ( | PVFieldPtr const & | pvField | ) |
Definition at line 26 of file pvAlarm.cpp.
void epics::pvData::PVAlarm::detach | ( | ) |
Detach for pvField.
Definition at line 46 of file pvAlarm.cpp.
void epics::pvData::PVAlarm::get | ( | Alarm & | alarm | ) | const |
copy the alarm structure values to Alarm
alarm | An instance of class Alarm |
If | not attached to a pvField. |
Definition at line 59 of file pvAlarm.cpp.
bool epics::pvData::PVAlarm::isAttached | ( | ) |
Is the PVAlarm attached to a pvField?
Definition at line 53 of file pvAlarm.cpp.
bool epics::pvData::PVAlarm::set | ( | Alarm const & | alarm | ) |
copy the values from Alarm to the alarm structure.
alarm | An instance of class Alarm |
If | not attached to a pvField. |
Definition at line 69 of file pvAlarm.cpp.