#include <baciAlarmSystemMonitor_T.h>
Inheritance diagram for baci::AlarmSystemMonitor< TPROP >:


Public Member Functions | |
| AlarmSystemMonitor (TPROP *property, EventDispatcher *eventDispatcher) | |
| virtual | ~AlarmSystemMonitor () |
| bool | failed () |
| void | succeeded () |
| virtual bool | isSuspended () |
| virtual int | getId (void) |
| virtual const char * | getName (void) |
| virtual char * | getObjectState (void) |
| virtual void | setObjectState (const char *state) |
| virtual void | suspend () |
| virtual void | resume () |
| virtual void | destroy () |
| virtual void | check (BACIValue &val, const ACSErr::Completion &c, const ACS::CBDescOut &desc)=0 |
| void | sendAlarm (std::string family, std::string member, int code, bool active) |
Protected Attributes | |
| auto_ptr< acsalarm::AlarmSystemInterface > | alarmSource_map |
| TPROP * | property_mp |
| int | alarmRaised_m |
Private Member Functions | |
| void | operator= (const AlarmSystemMonitor &) |
| AlarmSystemMonitor (const AlarmSystemMonitor &) | |
Private Attributes | |
| ACE_CString | name_m |
| bool | suspended_m |
| int | failureCount_m |
| CBDescIn | desc_mIn |
| ACS::TimeInterval | interval_m |
| EventDispatcher * | eventDispatcher_mp |
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
ALMA C++ coding standards state copy constructors should be disabled. |
|
||||||||||||||||||||
|
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::AlarmSystemMonitorSeqCont< T, TPROP >, baci::AlarmSystemMonitorSeqDisc< TPROP >, baci::AlarmSystemMonitorEnumProp< T, TPROP >, baci::AlarmSystemMonitorCont< TS, PropType >, baci::AlarmSystemMonitorSeqCont< TM, PropType >, baci::AlarmSystemMonitorSeqDisc< TM, PropType >, and baci::AlarmSystemMonitorEnumProp< T, ROEnumImpl< ACS_ENUM_T(T), SK > >.
|
|
|||||||||
|
Destroy event subscription Implements baci::EventStrategy.
|
|
|||||||||
|
|
|
||||||||||
|
Get object's "recovery" id; each object type sould have unique id
Implements baci::EventStrategy.
|
|
||||||||||
|
Returns objects name; each instance should have unique name
Implements baci::EventStrategy.
|
|
||||||||||
|
Get object's state represented as string
Implements baci::EventStrategy.
|
|
|||||||||
|
Is suspended Implements baci::EventStrategy.
|
|
||||||||||
|
ALMA C++ coding standards state assignment operators should be disabled. |
|
|||||||||
|
Resume suspended event subscription Implements baci::EventStrategy.
|
|
||||||||||||||||||||||||
|
Send an alarm to the AlarmSystem |
|
||||||||||
|
Set object's state stored in given string
Implements baci::EventStrategy.
|
|
|||||||||
|
|
|
|||||||||
|
Suspend event subscription Implements baci::EventStrategy.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.8