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

acscourseMount2LoopImpl.h

Go to the documentation of this file.
00001 #ifndef acscourseMount2LoopImpl_h
00002 #define acscourseMount2LoopImpl_h
00003 /*******************************************************************************
00004 *    ALMA - Atacama Large Millimiter Array
00005 *    (c) European Southern Observatory, 2002
00006 *    Copyright by ESO (in the framework of the ALMA collaboration)
00007 *    and Cosylab 2002, 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: acscourseMount2LoopImpl.h,v 1.5 2006/03/24 12:54:38 vwang 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 <acscourseMount2Impl.h>
00033 
00067 class Mount2LoopImpl;
00068 
00081 class PositionControlThread :public ACS::Thread
00082 {
00083   public:
00092     PositionControlThread(const ACE_CString& name, 
00093                   Mount2LoopImpl *mount_p, 
00094                   const ACS::TimeInterval& responseTime=ThreadBase::defaultResponseTime, 
00095                           const ACS::TimeInterval& sleepTime=ThreadBase::defaultSleepTime);
00099     ~PositionControlThread();
00100 
00105     virtual void runLoop();
00106 
00107   protected:
00113     Mount2LoopImpl *mount_p;
00114 };
00115 
00122 class Mount2LoopImpl: public Mount2Impl
00123 {
00124   public:
00130     Mount2LoopImpl(const ACE_CString &name, maci::ContainerServices *containerServices);
00131     
00135     virtual ~Mount2LoopImpl();
00136     
00137     
00138 
00139   private:
00140     
00144     void operator=(const Mount2Impl&);
00145 
00151     friend class PositionControlThread;
00152 };
00153 
00154 #endif 

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