00001 #ifndef prsAH_MAIN_TASK_VLT_H 00002 #define prsAH_MAIN_TASK_VLT_H 00003 /******************************************************************************* 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: prsAH_MAIN_TASK_VLT.h,v 1.109 2003/11/12 08:55:19 vltsccm Exp $" 00007 * 00008 * who when what 00009 * -------- -------- ---------------------------------------------- 00010 * tcsmgr 23/10/98 Factorised Reset() of objects to allow extensions in subclass 00011 * gchiozzi 28/04/95 created 00012 */ 00013 00014 /************************************************************************ 00015 * 00016 *---------------------------------------------------------------------- 00017 */ 00018 00019 #ifndef __cplusplus 00020 #error This is a C++ include file and cannot be used from plain C 00021 #endif 00022 00023 #include "prs.h" 00024 #include "prsAH_MAIN_TASK.h" 00025 #include "prsAH_GUIDE_VLT.h" 00026 #include "prsAH_ADC.h" 00027 #include "prsAH_M2.h" 00028 #include "prsAH_M1.h" 00029 00030 class prsAH_MAIN_TASK_VLT : public prsAH_MAIN_TASK 00031 { 00032 public: 00033 prsAH_MAIN_TASK_VLT(const dbSYMADDRESS dbPoint, 00034 prsAH_TRACK &track, 00035 prsAH_GUIDE_VLT &guide, 00036 prsAH_AO &ao, 00037 prsAH_STD_MOD &stdMod, 00038 prsAH_ADC &adc, 00039 prsAH_M2 &m2, 00040 prsAH_M1 &m1); 00041 ~prsAH_MAIN_TASK_VLT(); 00042 00043 00044 protected: 00045 virtual evhCB_COMPL_STAT ExePresetCB(msgMESSAGE &msg, void *udata); 00046 virtual ccsCOMPL_STAT PresetAbort(vltINT16 errorNumber); 00047 virtual ccsCOMPL_STAT PresetAbortPermitted (vltLOGICAL &permitted, fndSTRING &reason); 00048 00049 virtual ccsCOMPL_STAT Reset(); 00050 00051 prsAH_GUIDE_VLT &guide_vlt; 00052 00053 private: 00054 prsAH_ADC &adc; 00055 prsAH_M2 &m2; 00056 prsAH_M1 &m1; 00057 }; 00058 00059 00060 #endif