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

sampledCompImpl.h

Go to the documentation of this file.
00001 #ifndef SAMPLEDCOMP_IMPL_H
00002 #define SAMPLEDCOMP_IMPL_H
00003 /*******************************************************************************
00004 *    ALMA - Atacama Large Millimiter Array
00005 *    (c) Universidad Tecnica Federico Santa Maria, 2008
00006 *    Copyright by UTFSM (in the framework of the ALMA collaboration)
00007 *    All rights reserved
00008 *
00009 *    This library is free software; you can redistribute it and/or
00010 *    modify it under the terms of the GNU Lesser General Public
00011 *    License as published by the Free Software Foundation; either
00012 *    version 2.1 of the License, or (at your option) any later version.
00013 *
00014 *    This library is distributed in the hope that it will be useful,
00015 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 *    Lesser General Public License for more details.
00018 *
00019 *    You should have received a copy of the GNU Lesser General Public
00020 *    License along with this library; if not, write to the Free Software
00021 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00022 *
00023 *
00024 * "@(#) $Id: sampledCompImpl.h,v 1.10 2010/08/11 15:03:10 ntroncos Exp $"
00025 *
00026 */
00027 
00028 #ifndef __cplusplus
00029 #error This is a C++ include file and cannot be used from plain C
00030 #endif
00031 
00032 #include <string>
00033 
00034 #include <acscomponentImpl.h>
00035 #include <baciCharacteristicComponentImpl.h>
00036 #include <baciSmartPropertyPointer.h>
00037 
00038 #include <baciRWdouble.h>
00039 #include <baciRWfloat.h>
00040 #include <baciRWstring.h>
00041 #include <baciRWlong.h>
00042 #include <baciRWlongLong.h>
00043 #include <baciROdouble.h>
00044 #include <baciROfloat.h>
00045 #include <baciROstring.h>
00046 #include <baciROlong.h>
00047 #include <baciROlongLong.h>
00048 
00049 #include "sampledCompS.h"
00050 
00051 using namespace baci;
00052 
00053 class sampledCompImpl: public virtual CharacteristicComponentImpl,
00054                      public virtual POA_SAMP::SampledComponent
00055 {
00056 
00057         public:
00058                 sampledCompImpl(const ACE_CString &name, maci::ContainerServices *containerServices);
00059 
00063                 virtual ~sampledCompImpl();
00064                 void initialize();
00065 
00066                 virtual ACS::RWdouble_ptr   my_RWdouble();
00067                 virtual ACS::ROdouble_ptr   my_ROdouble();
00068                 virtual ACS::RWfloat_ptr    my_RWfloat();
00069                 virtual ACS::ROfloat_ptr    my_ROfloat();
00070                 virtual ACS::RWstring_ptr   my_RWstring();
00071                 virtual ACS::ROstring_ptr   my_ROstring();
00072                 virtual ACS::RWlong_ptr     my_RWlong();
00073                 virtual ACS::ROlong_ptr     my_ROlong();
00074                 virtual ACS::RWlongLong_ptr my_RWlongLong();
00075                 virtual ACS::ROlongLong_ptr my_ROlongLong();
00076 
00077         private:
00078                 SmartPropertyPointer<RWdouble>   m_RWdouble_sp;
00079                 SmartPropertyPointer<ROdouble>   m_ROdouble_sp;
00080                 SmartPropertyPointer<RWfloat>    m_RWfloat_sp;
00081                 SmartPropertyPointer<ROfloat>    m_ROfloat_sp;
00082                 SmartPropertyPointer<RWstring>   m_RWstring_sp;
00083                 SmartPropertyPointer<ROstring>   m_ROstring_sp;
00084                 SmartPropertyPointer<RWlong>     m_RWlong_sp;
00085                 SmartPropertyPointer<ROlong>     m_ROlong_sp;
00086                 SmartPropertyPointer<RWlongLong> m_RWlongLong_sp;
00087                 SmartPropertyPointer<ROlongLong> m_ROlongLong_sp;
00088                 ACE_CString component_name;
00092         void operator=(const sampledCompImpl&);
00093 
00094 };
00095 
00096 #endif /* !SAMPLEDCOMP_IMPL_H */

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