Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

agwsCON_ADAPTER_VLT.h

Go to the documentation of this file.
00001 #ifndef agwsCON_ADAPTER_VLT_H
00002 #define agwsCON_ADAPTER_VLT_H
00003 /******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: agwsCON_ADAPTER_VLT.h,v 1.182 2003/11/12 08:34:14 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  --------------------------------------------------------
00010 * gchiozzi 2000-07-27 Added agwsCON_SERVER to constructors and as member.
00011 * gchiozzi 2000-07-27 Remover adrotRotTrkLimitEvent
00012 
00013 * mkiekebu  11/08/99  AdapterEventCB & AdapterEventStopAgOkCB added
00014 * mkiekebu  30/07/99  new constructor added
00015 * gchiozzi  28/11/97  Replaced pointer to gsCatalogue with reference.
00016 * nfiebig   26/08/96  created
00017 */
00018 
00019 /******************************************************************************
00020  * Declaration of the agwsCON_ADAPTER_VLT class. Overloads the VLT specific
00021  * features of the basic agwsCON_ADAPTER class.
00022  *-----------------------------------------------------------------------------
00023  */
00024 
00025 #ifndef __cplusplus
00026 #error This is a C++ include file and cannot be used from plain C
00027 #endif
00028 
00029 #include "agwsCON_ADAPTER.h"
00030 
00031 class agwsCON_ADAPTER_VLT : public agwsCON_ADAPTER
00032 {
00033   public:
00034     agwsCON_ADAPTER_VLT(const dbSYMADDRESS dbPoint, agwsCON_CAT &gsCat, agwsCON_SERVER &agServer);
00035     agwsCON_ADAPTER_VLT(const dbSYMADDRESS dbPoint, agwsCON_CAT &gsCat, agwsCON_SERVER &agServer,
00036       agwsCON_SETUP *gsSetup);
00037 
00038     ccsCOMPL_STAT Init();
00039     virtual evhCB_COMPL_STAT ProbeAltCB(msgMESSAGE &msg, agwsCMD_HANDLER &handler);
00040     virtual evhCB_COMPL_STAT ProbeGsCB(msgMESSAGE &msg, agwsCMD_HANDLER &handler);
00041 
00042     virtual ccsCOMPL_STAT EnableAdRotEvents();
00043     virtual ccsCOMPL_STAT DisableAdRotEvents();
00044     virtual vltLOGICAL    CheckProbePos(vltDOUBLE  alpha,
00045           vltDOUBLE  delta,
00046           vltLOGICAL usedMargin,
00047           vltDOUBLE  rotAngle);
00048     virtual ccsCOMPL_STAT Reset();
00049     virtual ccsCOMPL_STAT UpdateVignettingLimits();
00050 
00051   protected:
00052     virtual evhCB_COMPL_STAT AdrotEventCB(evtEVENT_MSG &, void *);
00053     virtual evhCB_COMPL_STAT AdapterEventCB(evtEVENT_MSG &, void *);
00054     virtual evhCB_COMPL_STAT SetVignOkCB(msgMESSAGE &, void *);
00055     virtual evhCB_COMPL_STAT SetVignErrorCB(msgMESSAGE &, void *);
00056     virtual evhCB_COMPL_STAT InsDataChangedCB(msgMESSAGE &, void *);
00057     virtual evhCB_COMPL_STAT CheckGsOkCB(msgMESSAGE &msg, agwsCMD_HANDLER &handler);
00058 //  virtual evhCB_COMPL_STAT CheckGsErrorCB(msgMESSAGE &msg, agwsCMD_HANDLER &handler);
00059     virtual evhCB_COMPL_STAT AdrotEventStopAgOkCB(msgMESSAGE &, void *);
00060     virtual evhCB_COMPL_STAT AdapterEventStopAgOkCB(msgMESSAGE &, void *);
00061 
00062     virtual ccsCOMPL_STAT    CheckGs(agwsGUIDE_STAR &star,
00063              agwsCMD_HANDLER &handler);
00064     virtual evhCB_COMPL_STAT CheckGsAltCB(msgMESSAGE &msg, agwsCMD_HANDLER &handler);
00065     virtual evhCB_COMPL_STAT CheckGsAltErrorCB(msgMESSAGE &msg, agwsCMD_HANDLER &handler);
00066 
00067     agwsGUIDE_STAR   &ValidStar();
00068     agwsTRANSFER     probePrchkCmd;
00069 
00070   private:
00071     agwsCMD_HANDLER  prAltCmdHandler;   // PRALT command handler
00072     ccsTIMEVAL       prAltTimeout;      // PRALT transfer command timeout
00073     evtEVENT         adrotGsOutOfFieldEvent;
00074     evtEVENT         adrotAdTrkLimitEvent;
00075     agwsTRANSFER     probeSetVignCmd;
00076     agwsGUIDE_STAR   validStar;
00077 };
00078 
00079 /*
00080  * inline definition of adapter class
00081  */
00082 #include "agwsCON_ADAPTER_VLT.icc"
00083 
00084 #endif // !agwsCON_ADAPTER_VLT_H
00085 
00086 // __oOo__
00087 

Generated on Wed Dec 3 14:52:05 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001