00001 #ifndef agwsCON_CHECK_H
00002 #define agwsCON_CHECK_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __cplusplus
00022 #error This is a C++ include file and cannot be used from plain C
00023 #endif
00024
00025
00026
00027
00028 #include "agws.h"
00029 #include "evhDB_TASK.h"
00030 #include "evhTIMER.h"
00031
00032
00033
00034
00035 class agwsCON_CHECK : public evhDB_TASK
00036 {
00037 public:
00038 agwsCON_CHECK(const dbSYMADDRESS dbPoint);
00039 virtual ~agwsCON_CHECK();
00040
00041 virtual ccsCOMPL_STAT Init();
00042 virtual ccsCOMPL_STAT CheckStart();
00043 virtual ccsCOMPL_STAT CheckGuiding();
00044
00045 virtual ccsCOMPL_STAT StartPeriodicCheck(evhCALLBACK &userCB);
00046 virtual ccsCOMPL_STAT StopPeriodicCheck();
00047
00048 virtual evhCB_COMPL_STAT PeriodicCheckCB(msgMESSAGE &, void *);
00049
00050 protected:
00051 vltINT32 Interval() {return interval;};
00052
00053 private:
00054 vltINT32 interval;
00055 evhTIMER *timer;
00056 evhCALLBACK *stopCB;
00057 };
00058
00059 #endif