00001 #ifndef _baciPcontImpl_T_H_ 00002 #define _baciPcontImpl_T_H_ 00003 /******************************************************************* 00004 * ALMA - Atacama Large Millimiter Array 00005 * (c) European Southern Observatory, 2003 00006 * 00007 *This library is free software; you can redistribute it and/or 00008 *modify it under the terms of the GNU Lesser General Public 00009 *License as published by the Free Software Foundation; either 00010 *version 2.1 of the License, or (at your option) any later version. 00011 * 00012 *This library is distributed in the hope that it will be useful, 00013 *but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 *Lesser General Public License for more details. 00016 * 00017 *You should have received a copy of the GNU Lesser General Public 00018 *License along with this library; if not, write to the Free Software 00019 *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 * 00021 * "@(#) $Id: baciPcontImpl_T 00022 * 00023 * who when what 00024 * -------- ---------- ---------------------------------------------- 00025 * bjeram 07/02/2003 created 00026 */ 00027 00035 #ifndef __cplusplus 00036 #error This is a C++ include file and cannot be used from plain C 00037 #endif 00038 00039 #include <baciPcommonImpl_T.h> 00040 00041 namespace baci { 00042 00047 template<ACS_P_C> 00048 class baci_EXPORT PcontImpl: public virtual POA_SK 00049 /* public virtual PcommonImpl<ACS_P_TL> */ 00050 { 00051 00052 00053 public: 00054 00060 PcontImpl(const ACE_CString& name, BACIProperty *property_p, BACIComponent *component_p, DevIO<TM> *devIO/*=0*/, bool flagdeldevIO/*=false*/); 00061 00065 virtual ~PcontImpl(); 00066 00067 00068 /* ----------------------------------------------------------------- */ 00069 /* ---------------------- [ CORBA interface ] ---------------------- */ 00070 /* ----------------------------------------------------------------- */ 00071 00072 /* -------------------- [ P interface ] -------------------- */ 00073 00074 virtual TS min_delta_trigger (); 00075 00076 virtual TS graph_min (); 00077 00078 virtual TS graph_max (); 00079 00080 virtual TS min_step (); 00081 00082 protected: 00083 00089 virtual bool readCharacteristics(CharacteristicModelImpl *model); 00090 00091 private: 00092 00096 00097 // P 00098 TSM graph_min_m; 00099 TSM graph_max_m; 00100 TSM min_step_m; 00101 TSM min_delta_trig_m; 00102 }; 00103 00104 // #include "baciPcontImpl_T.i" 00105 00106 }; 00107 00108 00109 #endif 00110 00111 00112 00113 00114 00115 00116 00117 00118