00001 #ifndef fswsCON_CHECK_H 00002 #define fswsCON_CHECK_H 00003 /****************************************************************************** 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: fswsCON_CHECK.h,v 1.67 2003/11/12 08:38:04 vltsccm Exp $" 00007 * 00008 * who when what 00009 * -------- -------- -------------------------------------------------------- 00010 * gchiozzi 23/09/97 Added handling of check loop time on db. 00011 * gchiozzi 29/02/96 created 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 /* 00023 * module includes 00024 */ 00025 #include "agwsCON_CHECK.h" 00026 #include "fswsCON_INS.h" 00027 #include "fswsCON_SERVER.h" 00028 00029 /* 00030 * periodic check interval in seconds 00031 */ 00032 class fswsCON_CHECK : public agwsCON_CHECK 00033 { 00034 public: 00035 fswsCON_CHECK(const dbSYMADDRESS dbPoint, fswsCON_INS &fswsConIns, fswsCON_SERVER &fswsConServer); 00036 virtual ~fswsCON_CHECK(); 00037 00038 virtual ccsCOMPL_STAT CheckRgStart(); 00039 virtual ccsCOMPL_STAT CheckRgGuiding(); 00040 virtual ccsCOMPL_STAT StartPeriodicRgCheck(); 00041 virtual ccsCOMPL_STAT StopPeriodicRgCheck(); 00042 virtual evhCB_COMPL_STAT PeriodicRgCheckCB(msgMESSAGE &, void *); 00043 00044 private: 00045 fswsCON_INS &fswsConIns; 00046 fswsCON_SERVER &fswsConServer; 00047 00048 evhTIMER *timer1; // timer to trigger periodic checks 00049 }; 00050 00051 #endif