#include <baciAlarmSystemMonitorBase.h>
List of all members.
Detailed Description
Base class for the Alarm System Monitor that is not template class. The purpose of this class to have a not template base class for all Alarm System monitors.
Constructor & Destructor Documentation
baci::AlarmSystemMonitorBase::AlarmSystemMonitorBase |
( |
EventDispatcher * |
eventDispatcher |
) |
|
virtual baci::AlarmSystemMonitorBase::~AlarmSystemMonitorBase |
( |
|
) |
[virtual] |
ALMA C++ coding standards state copy constructors should be disabled.
Member Function Documentation
Event cheking method This virtual method is called periodically to check property state if event should be raised
Implements baci::EventStrategy.
Implemented in baci::AlarmSystemMonitorCont< T, TPROP >, baci::AlarmSystemMonitorDisc< T, TPROP >, baci::AlarmSystemMonitorPattern, baci::AlarmSystemMonitorSeqCont< T, TPROP >, baci::AlarmSystemMonitorSeqDisc< TPROP >, baci::AlarmSystemMonitorEnumProp< T, TPROP >, baci::AlarmSystemMonitorDisc< ACS::pattern, ROpatternImpl >, and baci::AlarmSystemMonitorEnumProp< T, ROEnumImpl< ACS_ENUM_T(T), SK > >.
virtual void baci::AlarmSystemMonitorBase::clearAlarm |
( |
|
) |
[protected, virtual] |
Clear the alarm that was previously set/raised. For the alarm code it is used alarm code used for sending/raising the alarm. Main goal of the method is to be called when fault family or fault member is changed to clear the alarm.
Reimplemented in baci::AlarmSystemMonitorPattern.
virtual void baci::AlarmSystemMonitorBase::destroy |
( |
|
) |
[inline, virtual] |
bool baci::AlarmSystemMonitorBase::failed |
( |
|
) |
|
virtual int baci::AlarmSystemMonitorBase::getId |
( |
void |
|
) |
[inline, virtual] |
Get object's "recovery" id; each object type sould have unique id
- Returns:
- object's id
Implements baci::EventStrategy.
virtual const char* baci::AlarmSystemMonitorBase::getName |
( |
void |
|
) |
[inline, virtual] |
Returns objects name; each instance should have unique name
- Returns:
- object's name
Implements baci::EventStrategy.
virtual const char* baci::AlarmSystemMonitorBase::getObjectState |
( |
void |
|
) |
[inline, virtual] |
Get object's state represented as string
- Returns:
- pointer to stringified object's state
Implements baci::EventStrategy.
virtual bool baci::AlarmSystemMonitorBase::isSuspended |
( |
|
) |
[inline, virtual] |
ALMA C++ coding standards state assignment operators should be disabled.
virtual void baci::AlarmSystemMonitorBase::recheckAlarm |
( |
|
) |
[protected, virtual] |
Check last value that caused an alarm for the alarm. The purpose of the method is to be used afer fault family or fault member is changed.
virtual void baci::AlarmSystemMonitorBase::resume |
( |
|
) |
[inline, virtual] |
void baci::AlarmSystemMonitorBase::sendAlarm |
( |
int |
code, |
|
|
bool |
active | |
|
) |
| | [protected] |
Send an alarm with a certain alarm code to the AlarmSystem code alarm code active true-raise an alarm, false-clear an alarm
void baci::AlarmSystemMonitorBase::setFaultFamily |
( |
const char * |
ff |
) |
|
(re)set Alarm's fault family
- Parameters:
-
void baci::AlarmSystemMonitorBase::setFaultMember |
( |
const char * |
fm |
) |
|
(re)set Alarm's fault member
- Parameters:
-
void baci::AlarmSystemMonitorBase::setLevel |
( |
int |
level |
) |
[inline] |
set level of the alarm alarm level
virtual void baci::AlarmSystemMonitorBase::setObjectState |
( |
const char * |
state |
) |
[inline, virtual] |
Set object's state stored in given string
- Parameters:
-
| stringified | object's state |
Implements baci::EventStrategy.
void baci::AlarmSystemMonitorBase::setProperty |
( |
const char * |
name, |
|
|
const char * |
prop | |
|
) |
| | [protected] |
sets property of the alarm. If the property was already set it will be set to a new value. name - property name prop value of the property
template<class VT >
void baci::AlarmSystemMonitorBase::setProperty |
( |
const char * |
name, |
|
|
VT |
value | |
|
) |
| | [inline, protected] |
void baci::AlarmSystemMonitorBase::succeeded |
( |
|
) |
|
virtual void baci::AlarmSystemMonitorBase::suspend |
( |
|
) |
[inline, virtual] |
Member Data Documentation
alarm fault family that is used to send alarm
indicator (flag) if an alarm was raised. in case of pattern how many alarms were raised in case of continues types like long/dobule etc. -1 low alarm, 1 high alarm
alarm fault member that is used to send alarm
The documentation for this class was generated from the following file: