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

atagwsCON_SERVER.h

Go to the documentation of this file.
00001 #ifndef atagwsCON_SERVER_H
00002 #define atagwsCON_SERVER_H
00003 /******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: atagwsCON_SERVER.h,v 1.35 2003/11/26 08:07:42 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  --------------------------------------------------------
00010 * rkarban 2001-03-23 created
00011 */
00012 
00013 /******************************************************************************
00014  * Definition of the agwsCON_SERVER class.
00015  *-----------------------------------------------------------------------------
00016  */
00017 
00018 #ifndef __cplusplus
00019 #error This is a C++ include file and cannot be used from plain C
00020 #endif
00021 
00022 #include "fswsCON_SERVER.h"
00023 #include "atagwsCON_CHOP.h"
00024 #include "atagwsCON_SETUP.h"
00025 
00026 /*
00027  * Main class definition
00028  */
00029 class atagwsCON_SERVER : public fswsCON_SERVER
00030 {
00031   public:
00032     atagwsCON_SERVER(const dbSYMADDRESS  dbPoint,
00033          atagwsCON_CHOP         &conCHOP,
00034          fswsCON_INS        &conIns, 
00035          atagwsCON_SETUP      &conSetup);
00036 
00037     virtual ~atagwsCON_SERVER();
00038 
00039     /*
00040      * Overloaded implementations
00041      */
00042     virtual ccsCOMPL_STAT Init();
00043     virtual ccsCOMPL_STAT Reset();
00044 
00045     /*
00046      * New commands/methods
00047      */
00048     virtual ccsCOMPL_STAT OptimizeFs(msgMESSAGE &msg,
00049              fndOBJECT *obj, 
00050              evhCB_METHOD reply,
00051              evhCB_METHOD errReply, 
00052              evhCB_METHOD timeout = NULL,
00053              void *udata          = NULL);
00054 
00055     void SetCurrentStar (agwsGUIDE_STAR &star) {currentStar = star;};
00056     ccsCOMPL_STAT SetDest (const char *modName, msgMESSAGE &msg);
00057 
00058     agwsGUIDE_STAR &CurrentStar() {return currentStar;};
00059   protected:
00060 
00061     /*
00062      * Internal steps for the StartAg sequence
00063      */
00064     virtual evhCB_COMPL_STAT StartAgGetBidCB(msgMESSAGE &msg, void *udata);
00065     virtual evhCB_COMPL_STAT StartAgFinaliseCB(msgMESSAGE &, void *);
00066     virtual evhCB_COMPL_STAT SetupAd2XyOkCB(msgMESSAGE &, void *);
00067 
00068     agwsCMD_PARALLEL        optimizeFsCmd;        // OPTIMIZ    transfer command object
00069     ccsTIMEVAL              optimizeFsTimeout;    // OPTIMIZ transfer command timeout
00070 
00071   private:
00072     agwsGUIDE_STAR   currentStar;
00073 };
00074 
00075 #endif // !atagwsCON_SERVER_H

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