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

acscourseMount.idl

Go to the documentation of this file.
00001 #ifndef _ACSCOURSE_MOUNT_IDL_
00002 #define _ACSCOURSE_MOUNT_IDL_
00003 
00004 /*******************************************************************************
00005 *    ALMA - Atacama Large Millimiter Array
00006 *
00007 *    (c) European Southern Observatory, 2002
00008 *    Copyright by ESO (in the framework of the ALMA collaboration)
00009 *    and Cosylab 2002, All rights reserved
00010 *
00011 *    This library is free software; you can redistribute it and/or
00012 *    modify it under the terms of the GNU Lesser General Public
00013 *    License as published by the Free Software Foundation; either
00014 *    version 2.1 of the License, or (at your option) any later version.
00015 *
00016 *    This library is distributed in the hope that it will be useful,
00017 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019 *    Lesser General Public License for more details.
00020 *
00021 *    You should have received a copy of the GNU Lesser General Public
00022 *    License along with this library; if not, write to the Free Software
00023 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00024 *
00025 *
00026 * "@(#) $Id: acscourseMount.idl,v 1.1 2004/02/04 11:59:54 hsommer Exp $"
00027 *
00028 * who       when      what
00029 * --------  --------  ----------------------------------------------
00030 */
00031 
00032 #include <baci.idl>
00033 #include <ACSErrTypeCommon.idl>
00034 #include <ACSErrTypeACSCourse.idl>
00035 
00036 #pragma prefix "alma"
00037 
00038 
00045 module ACSCOURSE_MOUNT 
00046 {
00047     /********************************************************************/
00052     interface Mount1 : ACS::ACSComponent
00053         {
00064         void objfix (in double az,
00065                      in double elev) raises (ACSErrTypeACSCourse::TargetNotFoundEx);
00066         };    
00067 
00068     /********************************************************************/
00077     interface Mount2 : ACS::CharacteristicComponent
00078         {
00089         void objfix (in double az,
00090                      in double elev);
00094         readonly attribute ACS::RWdouble cmdAz;
00095         
00099         readonly attribute ACS::RWdouble cmdEl;
00100         
00104         readonly attribute ACS::ROdouble actAz;
00105         
00109         readonly attribute ACS::ROdouble actEl; 
00110         };    
00111 
00112 
00113 
00114     /********************************************************************/
00120     interface Mount3: ACS::CharacteristicComponent
00121         {
00122         enum coordType { Mean, Apparent };
00139         void obstar (in double ra,
00140                      in double dec,
00141                      in double pmRa,
00142                      in double pmDec,
00143                      in double radVel,
00144                      in double par,
00145                      in coordType type);
00146         
00160         void objfix (in double az,
00161                      in double elev);
00162         
00166         readonly attribute ACS::ROdouble cmdAz;
00167         
00171         readonly attribute ACS::ROdouble cmdEl;
00172         
00176         readonly attribute ACS::ROdouble actAz;
00177         
00181         readonly attribute ACS::ROdouble actEl; 
00182         };    
00183 
00184 
00185     /********************************************************************/
00190     interface Mount4 : ACS::CharacteristicComponent
00191         {
00192         enum coordType { Mean, Apparent };
00210         void obstar (in double ra,
00211                      in double dec,
00212                      in double pmRa,
00213                      in double pmDec,
00214                      in double radVel,
00215                      in double par,
00216                      in coordType type);
00217         
00241         void obstar_async (in double ra,
00242                            in double dec,
00243                            in double pmRa,
00244                            in double pmDec,
00245                            in double radVel,
00246                            in double par,
00247                            in coordType type,
00248                            in ACS::CBvoid callBack,
00249                            in ACS::CBDescIn desc);
00250         
00262         void objfix (in double az,
00263                      in double elev);
00264         
00265         
00282         void objfix_async (in double az,
00283                            in double elev,
00284                            in ACS::CBvoid callBack,
00285                            in ACS::CBDescIn desc);
00286         
00287         
00291         readonly attribute ACS::ROdouble cmdAz;
00292         
00296         readonly attribute ACS::ROdouble cmdEl;
00297         
00301         readonly attribute ACS::ROdouble actAz;
00302         
00306         readonly attribute ACS::ROdouble actEl; 
00307         };    
00308 
00309     /********************************************************************/
00315     interface Mount5 : ACS::ACSComponent
00316         {
00327         void objfix (in double az, in double elev);
00328         };
00329 
00336     const string MOUNT_CHANNEL = "mountchannel";
00337 
00342     struct MountEventData
00343     {
00344         double Azimuth;
00345         double Elevation;
00346     };
00347     /********************************************************************/
00348 
00349 };
00350 
00351 #endif

Generated on Thu Jan 12 2012 23:13:14 for ACS-10.0 IDL interfaces by  doxygen 1.7.0