00001 #ifndef tcsmonCON_MOON_CALC_H 00002 #define tcsmonCON_MOON_CALC_H 00003 /****************************************************************************** 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: tcsmonCON_MOON_CALC.h,v 2.38 2003/07/12 21:26:15 vltsccm Exp $" 00007 * 00008 * who when what 00009 * -------- -------- -------------------------------------------------------- 00010 * rkarban 14/03/98 created 00011 */ 00012 00013 /****************************************************************************** 00014 * Declaration of class tcsmonCON_MOON_CALC. 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 <evhTIMER.h> 00023 #include "tcsMOON.h" 00024 #include "tcsSTATE.h" 00025 00026 class tcsmonCON_MOON_CALC : public tcsSTATE 00027 { 00028 public: 00029 tcsmonCON_MOON_CALC(const dbSYMADDRESS dbRoot); 00030 virtual ~tcsmonCON_MOON_CALC(); 00031 ccsCOMPL_STAT Init(); 00032 ccsCOMPL_STAT Start(); 00033 ccsCOMPL_STAT Stop(); 00034 00035 protected: 00036 virtual evhCB_COMPL_STAT MoonCalcEventCB(evtEVENT_MSG &msg, void *); 00037 00038 private: 00039 dbSYMADDRESS dbPoint; // class DB support point 00040 ccsTIMEVAL interval; // moon calc interval 00041 vltLOGICAL timerActive; 00042 evhTIMER *timer; 00043 tcsMOON *calcMoon; 00044 vltUINT32 errorCounter; 00045 }; 00046 00047 #endif // !tcsmonCON_MOON_CALC_H