ALMA Computing Group

acscourseMount1Impl.cpp

Go to the documentation of this file.
00001 /*******************************************************************************
00002 *    ALMA - Atacama Large Millimiter Array
00003 *    (c) Associated Universities Inc., 2002 *
00004 *    (c) European Southern Observatory, 2002
00005 *    Copyright by ESO (in the framework of the ALMA collaboration)
00006 *    and Cosylab 2002, All rights reserved
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 *
00023 *
00024 * "@(#) $Id: acscourseMount1Impl.cpp,v 1.5 2008/10/02 08:58:19 cparedes Exp $"
00025 *
00026 */
00027  
00028 #include <acscourseMount1Impl.h>
00029 #include <iostream>
00030 using namespace std;
00031 
00032 /* ----------------------------------------------------------------*/
00033 Mount1Impl::Mount1Impl(const ACE_CString &name, maci::ContainerServices *containerServices) :
00034     acscomponent::ACSComponentImpl(name, containerServices)
00035 {
00036     // ACS_TRACE is used for debugging purposes
00037     ACS_TRACE("::Mount1Impl::Mount1Impl");
00038 }
00039 /* ----------------------------------------------------------------*/
00040 Mount1Impl::~Mount1Impl()
00041 {
00042     // ACS_TRACE is used for debugging purposes
00043     ACS_TRACE("::Mount1Impl::~Mount1Impl");
00044     ACS_DEBUG_PARAM("::Mount1Impl::~Mount1Impl", "Destroying %s...", name());
00045 }
00046 /* --------------------- [ CORBA interface ] ----------------------*/
00047 void 
00048 Mount1Impl::objfix (CORBA::Double az,
00049         CORBA::Double elev)
00050 {
00051     ACS_TRACE("::Mount1Impl::~Mount1Impl");
00052     ACS_SHORT_LOG((LM_INFO,"Received objfix command. Az: %f El: %f", az, elev));
00053 }
00054 
00055 /* --------------- [ MACI DLL support functions ] -----------------*/
00056 #include <maciACSComponentDefines.h>
00057 MACI_DLL_SUPPORT_FUNCTIONS(Mount1Impl)
00058 /* ----------------------------------------------------------------*/
00059 
00060 
00061 /*___oOo___*/
00062 
00063