Go to the documentation of this file.00001 #ifndef _baciRObooleanSeq_H_
00002 #define _baciRObooleanSeq_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef __cplusplus
00032 #error This is a C++ include file and cannot be used from plain C
00033 #endif
00034
00035 #include <baciMonitor_T.h>
00036 #include <baciROcommonImpl_T.h>
00037 #include <baciPcontImpl_T.h>
00038 #include "baciAlarm_T.h"
00039
00040
00041 namespace baci {
00048 typedef Monitor<ACS_MONITOR_SEQ(boolean, CORBA::Boolean)> MonitorbooleanSeq;
00052 #define ACS_RO_BOOLSEQ_TL \
00053 ACS::booleanSeq*, ACS::CBbooleanSeq, ACS::booleanSeqSeq, \
00054 ACS::booleanSeqSeq_out, ACS::Monitorboolean, baci::MonitorbooleanSeq, \
00055 ACS::booleanSeq, CORBA::Boolean, CORBA::Boolean, \
00056 POA_ACS::RObooleanSeq, ACS::Alarmboolean, POA_ACS::CBbooleanSeq, \
00057 const ACS::booleanSeq&
00058
00059
00060 #define ACS_RO_BOOLSEQ_P ACS::booleanSeq*, ACS::CBbooleanSeq, ACS::booleanSeqSeq, \
00061 ACS::booleanSeqSeq_out, ACS::Monitorboolean, baci::MonitorbooleanSeq, \
00062 ACS::booleanSeq, CORBA::Boolean, CORBA::Boolean, POA_ACS::RObooleanSeq
00063
00064
00065 class RObooleanSeq : public virtual PortableServer::RefCountServantBase,
00066 public ROcommonImpl<ACS_RO_BOOLSEQ_TL>,
00067 public PcontImpl<ACS_RO_BOOLSEQ_P>
00068 {
00069 public:
00073 RObooleanSeq(const ACE_CString& name, BACIComponent *component_p, DevIO<ACS::booleanSeq> *devIO=0, bool flagdeldevIO=false);
00074
00079 RObooleanSeq(bool init, const ACE_CString& name, BACIComponent *component_p, DevIO<ACS::booleanSeq> *devIO=0, bool flagdeldevIO=false );
00080
00084 virtual ~RObooleanSeq();
00085
00089 virtual CORBA::Boolean alarm_on ();
00090
00094 virtual ACS::Subscription_ptr new_subscription_Alarm (
00095 ACS::Alarmboolean *cb, const ACS::CBDescIn & desc);
00096
00097 protected:
00098
00103 virtual bool readCharacteristics();
00104
00105 private:
00106
00110 CORBA::Boolean alarmOn_m;
00111 };
00112
00113
00114
00115 }
00116
00117 #endif
00118