#ifndef SAMPLEDCOMP_IMPL_H #define SAMPLEDCOMP_IMPL_H /******************************************************************************* * ALMA - Atacama Large Millimiter Array * (c) Universidad Tecnica Federico Santa Maria, 2008 * Copyright by UTFSM (in the framework of the ALMA collaboration) * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * * "@(#) $Id: testComp.h,v 1.2 2010/07/16 15:51:35 ntroncos Exp $" * */ #ifndef __cplusplus #error This is a C++ include file and cannot be used from plain C #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "sampledCompS.h" using namespace baci; class testComp: public virtual CharacteristicComponentImpl, public virtual POA_SAMP::ChildSampleComponent { public: testComp(const ACE_CString &name, maci::ContainerServices *containerServices); /** * Destructor */ virtual ~testComp(); void initialize() throw (acsErrTypeLifeCycle::LifeCycleExImpl); virtual ACS::RWdouble_ptr my_RWdouble() throw (CORBA::SystemException); virtual ACS::ROdouble_ptr my_ROdouble() throw (CORBA::SystemException); virtual ACS::RWfloat_ptr my_RWfloat() throw (CORBA::SystemException); virtual ACS::ROfloat_ptr my_ROfloat() throw (CORBA::SystemException); virtual ACS::RWstring_ptr my_RWstring() throw (CORBA::SystemException); virtual ACS::ROstring_ptr my_ROstring() throw (CORBA::SystemException); virtual ACS::RWlong_ptr my_RWlong() throw (CORBA::SystemException); virtual ACS::ROlong_ptr my_ROlong() throw (CORBA::SystemException); virtual ACS::RWlongLong_ptr my_RWlongLong() throw (CORBA::SystemException); virtual ACS::ROlongLong_ptr my_ROlongLong() throw (CORBA::SystemException); virtual ACS::ROlong_ptr my_childLong() throw (CORBA::SystemException); private: SmartPropertyPointer m_RWdouble_sp; SmartPropertyPointer m_ROdouble_sp; SmartPropertyPointer m_RWfloat_sp; SmartPropertyPointer m_ROfloat_sp; SmartPropertyPointer m_RWstring_sp; SmartPropertyPointer m_ROstring_sp; SmartPropertyPointer m_RWlong_sp; SmartPropertyPointer m_ROlong_sp; SmartPropertyPointer m_RWlongLong_sp; SmartPropertyPointer m_ROlongLong_sp; SmartPropertyPointer m_childLong_sp; ACE_CString component_name; /** * ALMA C++ coding standards state copy operators should be disabled. */ void operator=(const testComp&); }; #endif /* !SAMPLEDCOMP_IMPL_H */