00001 #ifndef BACIALARMSYSTEMMONITORBOOLEAN_H_ 00002 #define BACIALARMSYSTEMMONITORBOOLEAN_H_ 00003 00004 #ifndef __cplusplus 00005 #error This is a C++ include file and cannot be used from plain C 00006 #endif 00007 00008 #include "baciAlarmSystemMonitor_T.h" 00009 #include "baciROboolean.h" 00010 00011 namespace baci 00012 { 00013 00017 class baci_EXPORT AlarmSystemMonitorBoolean : public AlarmSystemMonitor<ROboolean> 00018 { 00019 public: 00020 00021 AlarmSystemMonitorBoolean(ROboolean* property, EventDispatcher * eventDispatcher); 00022 00023 virtual ~AlarmSystemMonitorBoolean(); 00024 00025 virtual void check(BACIValue &val, 00026 const ACSErr::Completion & c, 00027 const ACS::CBDescOut & desc ); 00028 00029 private: 00030 00031 static const bool ENABLE = true; 00032 static const bool DISABLE = false; 00033 static const int32_t ALARM_NOT_RAISED = 0; 00034 static const int32_t ALARM_RAISED = 1; 00035 00039 void operator=(const AlarmSystemMonitorBoolean&); 00040 00044 AlarmSystemMonitorBoolean(const AlarmSystemMonitorBoolean&); 00045 00049 void updateAlarm(bool enable); 00050 00051 00052 };//class AlarmSystemMonitorBoolean 00053 00054 }//namespace baci 00055 00056 #endif /*BACIALARMSYSTEMBOOLEAN_H_*/