Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

baciROcommonImpl_T.h

Go to the documentation of this file.
00001 #ifndef _baciROcommonImpl_T_H_ 00002 #define _baciROcommonImpl_T_H_ 00003 00004 /******************************************************************* 00005 * ALMA - Atacama Large Millimiter Array 00006 * (c) European Southern Observatory, 2003 00007 * 00008 *This library is free software; you can redistribute it and/or 00009 *modify it under the terms of the GNU Lesser General Public 00010 *License as published by the Free Software Foundation; either 00011 *version 2.1 of the License, or (at your option) any later version. 00012 * 00013 *This library is distributed in the hope that it will be useful, 00014 *but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 *Lesser General Public License for more details. 00017 * 00018 *You should have received a copy of the GNU Lesser General Public 00019 *License along with this library; if not, write to the Free Software 00020 *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 * 00022 * "@(#) $Id: baciROcommonImpl_T.h,v 1.27 2008/07/25 07:29:52 cparedes Exp $" 00023 * 00024 * who when what 00025 * -------- ---------- ---------------------------------------------- 00026 * bjeram 07/02/2003 created 00027 */ 00028 00034 #ifndef __cplusplus 00035 #error This is a C++ include file and cannot be used from plain C 00036 #endif 00037 00038 #include "baciAlarm_T.h" 00039 #include <baciPcommonImpl_T.h> 00040 #include <baciErrTypeDevIO.h> 00041 #include <baciErrTypeProperty.h> 00042 00043 00044 //#define ACS_RO_T(T, TC) ACS_P_TL(T, TC), POA_ACS::RO##T, ACS::Alarm##T 00048 #define ACS_RO_T(T, TC) TC, ACS::CB##T, ACS::T##Seq, ACS::T##Seq_out, ACS::Monitor##T, baci::Monitor##T, TC, TC, TC, POA_ACS::RO##T, ACS::Alarm##T, POA_ACS::CB##T, TC 00049 00053 #define ACS_RO_TL ACS_P_TL, TAlarm, POA_CB, TIN 00054 //T, TCB, TSeq, TSeq_out, TMonitor, TMonitorImpl, TAlarm, POA_SK, TM, TS, TSM 00055 00056 //#define ACS_RO_C class T, class TCB, class TSeq, class TSeq_out, class TMonitor, class TMonitorImpl, class POA_SK, class TM, class TS, class TSM, class TAlarm 00060 #define ACS_RO_C ACS_P_C, class TAlarm, class POA_CB, class TIN 00061 00062 namespace baci { 00063 00069 template<ACS_RO_C> 00070 class baci_EXPORT ROcommonImpl : public virtual POA_SK, 00071 public PcommonImpl<ACS_P_TL> 00072 { 00073 public: 00079 // ROcommonImpl(const ACE_CString& name, BACIComponent *component_p, DevIO *devIO=0); 00080 00086 ROcommonImpl(const ACE_CString& name, BACIComponent *component_p, DevIO<TM> *devIO, bool flagdeldevIO); 00087 00092 ROcommonImpl(bool init, const ACE_CString& name, BACIComponent *component_p, DevIO<TM> *devIO, bool flagdeldevIO); 00093 00097 virtual ~ROcommonImpl(); 00098 00099 /* -------------------- [ RO interface ] -------------------- */ 00100 00101 protected: 00102 00108 virtual bool readCharacteristics(); 00109 00110 protected: 00111 00113 EventDispatcher * monitorEventDispatcher_mp; 00114 00115 // RO 00116 ACS::TimeInterval alarmTimerTrig_m; 00117 00118 private: 00122 void operator=(const ROcommonImpl&); 00123 00127 ROcommonImpl(const ROcommonImpl&); 00128 };// class ROcommonImpl 00129 00130 }; 00131 00132 #endif 00133 00134 00135 00136 00137 00138 00139 00140

Generated on Thu Apr 30 02:30:50 2009 for ACS C++ API by doxygen 1.3.8