00001 /* 00002 * baciAlarmBoolean.h 00003 * 00004 * Created on: Oct 13, 2014 00005 * Author: almamgr 00006 */ 00007 00008 #ifndef BACIALARMBOOLEAN_H_ 00009 #define BACIALARMBOOLEAN_H_ 00010 00011 #ifndef __cplusplus 00012 #error This is a C++ include file and cannot be used from plain C 00013 #endif 00014 00015 00016 #include <baciEvent.h> 00017 #include <ACSErrTypeAlarm.h> 00018 00019 #include "baciAlarm_T.h" 00020 #include "baciROboolean.h" 00021 00022 00023 00024 namespace baci { 00025 00026 /***********************************************************************************************/ 00027 /* AlarmEventStrategy implementation for boolean type */ 00028 00029 class baci_EXPORT AlarmEventStrategyBoolean : public AlarmEventStrategy<CORBA::Boolean, ROboolean, ACS::Alarmboolean> 00030 { 00031 public: 00032 AlarmEventStrategyBoolean(ROboolean * property, EventDispatcher * eventDispatcher); 00033 00034 AlarmEventStrategyBoolean(Callback_ptr callback_p, 00035 const CBDescIn& descIn, 00036 const ACS::TimeInterval& interval, 00037 ROboolean * property, 00038 EventDispatcher * eventDispatcher); 00039 00040 virtual void check(BACIValue &val, 00041 const ACSErr::Completion & c, 00042 const ACS::CBDescOut & desc); 00043 00044 private: 00048 void operator=(const AlarmEventStrategyBoolean&); 00049 00053 AlarmEventStrategyBoolean(const AlarmEventStrategyBoolean&); 00054 }; 00055 00056 } 00057 00058 #endif /* BACIALARMBOOLEAN_H_ */