00001 #ifndef _baciPpatternImpl_H_ 00002 #define _baciPpatternImpl_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: baciPpatternImpl.h,v 1.19 2008/10/01 02:26:45 cparedes Exp $" 00023 * 00024 * who when what 00025 * -------- ---------- ---------------------------------------------- 00026 * bjeram 2003/02/20 created 00027 */ 00028 00036 #ifndef __cplusplus 00037 #error This is a C++ include file and cannot be used from plain C 00038 #endif 00039 00040 #include <baciMonitor_T.h> 00041 #include <baciPcommonImpl_T.h> 00042 00043 namespace baci { 00044 00050 typedef Monitor<ACS_MONITOR(pattern, ACS::pattern)> Monitorpattern; 00059 class baci_EXPORT PpatternImpl : public virtual POA_ACS::Ppattern 00060 { 00061 00062 public: 00067 PpatternImpl(const ACE_CString& name, BACIProperty *property_p /*, BACIComponent *component_p, DevIO<ACS::pattern>* devIO=0*/); 00071 virtual ~PpatternImpl(); 00072 00073 00074 /* ----------------------------------------------------------------- */ 00075 /* ---------------------- [ CORBA interface ] ---------------------- */ 00076 /* ----------------------------------------------------------------- */ 00077 /* -------------------- [ Ppattern interface ] -------------------- */ 00078 00079 virtual ACS::stringSeq * bitDescription (); 00080 00081 virtual ACS::ConditionSeq * whenSet (); 00082 00083 virtual ACS::ConditionSeq * whenCleared (); 00084 00085 00086 protected: 00087 00093 virtual bool readCharacteristics(CharacteristicModelImpl *model); 00094 00095 00096 private: 00097 00101 00102 // Ppattern 00103 00104 ACS::stringSeq bitDescription_m; 00105 ACS::ConditionSeq whenSet_m; 00106 ACS::ConditionSeq whenCleared_m; 00107 00108 }; 00109 00110 }; 00111 00112 #endif /* baciPpatternImpl */ 00113 00114 00115 00116 00117 00118