• Classes
  • Modules
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

baciPropertyImpl.h

Go to the documentation of this file.
00001 #ifndef baciPropertyImpl_H
00002 #define baciPropertyImpl_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: baciPropertyImpl.h,v 1.14 2008/10/01 02:26:45 cparedes Exp $"
00023 *
00024 * who       when        what
00025 * --------  ----------  ----------------------------------------------
00026 * acaproni  2004-04-07  added getComponent 
00027 * bjeram    2003/01/21  created
00028 
00029 */
00030 
00037 #ifndef __cplusplus
00038 #error This is a C++ include file and cannot be used from plain C
00039 #endif
00040 
00041 #include <baciCharacteristicModelImpl.h>
00042 
00043 namespace baci {
00044 
00045 class baci_EXPORT PropertyImpl : public virtual POA_ACS::Property,
00046                                  public CharacteristicModelImpl
00047 {
00048   public:
00049     
00050     PropertyImpl(const ACE_CString& name, BACIComponent* component_p);
00051 
00052     virtual ~PropertyImpl();
00053 
00054 /* ------------------ [ Property interface ] ------------------ */
00055     virtual char * name (
00056         ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
00057       );
00058  
00059     virtual char * characteristic_component_name ();
00060     
00062         BACIComponent* getComponent() { return component_mp; }
00063         
00064         
00065 private:
00067   BACIComponent* component_mp;
00068 }; //class PropertyImpl
00069 
00070  }; 
00071 
00072 #endif
00073 
00074 
00075 
00076 
00077 
00078 
00079 

Generated on Thu Jan 12 2012 23:13:50 for ACS-10.0 C++ API by  doxygen 1.7.0