00001 #ifndef atagwsCON_SERVER_H
00002 #define atagwsCON_SERVER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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
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
00041
00042 virtual ccsCOMPL_STAT Init();
00043 virtual ccsCOMPL_STAT Reset();
00044
00045
00046
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
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;
00069 ccsTIMEVAL optimizeFsTimeout;
00070
00071 private:
00072 agwsGUIDE_STAR currentStar;
00073 };
00074
00075 #endif // !atagwsCON_SERVER_H