Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

tcsmonCON_MAIN_TASK.h

Go to the documentation of this file.
00001 #ifndef tcsmonCON_MAIN_TASK_H
00002 #define tcsmonCON_MAIN_TASK_H
00003 /******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: tcsmonCON_MAIN_TASK.h,v 2.38 2003/07/12 21:26:14 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  --------------------------------------------------------
00010 * imunoz    2000-07-14 removed obsolete objects hbLog and conLog
00011 * awalland  29/06/98  added temp logger
00012 * rkarban   14/05/97  created
00013 */
00014 
00015 /******************************************************************************
00016  * Declaration of class tcsmonCON_MAIN_TASK.
00017  *-----------------------------------------------------------------------------
00018  */
00019 
00020 #ifndef __cplusplus
00021 #error This is a C++ include file and cannot be used from plain C
00022 #endif
00023 
00024 #include "tcsmon.h"
00025 #include "tcsSTATE.h"
00026 #include "tcsCMD_HANDLER.h"
00027 #include "tcsmonCON_MOON_CALC.h"
00028 #include "tcsmonCON_ENVIRONMENT.h"
00029 #include "tcsmonSchedHandler.h"
00030 
00031 
00032 class tcsmonCON_MAIN_TASK : public tcsSTATE
00033 {
00034   public:
00035     tcsmonCON_MAIN_TASK(const dbSYMADDRESS dbRoot);
00036     ~tcsmonCON_MAIN_TASK();
00037     ccsCOMPL_STAT Recover();
00038 
00039     evhCB_COMPL_STAT InitCB(msgMESSAGE &msg, void *);
00040     evhCB_COMPL_STAT ExitCB(msgMESSAGE &msg, void *);
00041     evhCB_COMPL_STAT StopCB(msgMESSAGE &msg, void *);
00042     evhCB_COMPL_STAT OnlineCB(msgMESSAGE &msg, void *);
00043     evhCB_COMPL_STAT StandbyCB(msgMESSAGE &msg, void *);
00044     evhCB_COMPL_STAT OffCB(msgMESSAGE &msg, void *);
00045     evhCB_COMPL_STAT StatusCB(msgMESSAGE &msg, void *udata);
00046     evhCB_COMPL_STAT VerboseCB(msgMESSAGE &msg, void *udata);
00047 
00048 
00049   protected:
00050     ccsCOMPL_STAT    Init();
00051     ccsCOMPL_STAT    Stop();
00052     ccsCOMPL_STAT    Start();
00053 
00054   private:
00055     dbSYMADDRESS       dbPoint;
00056     tcsCMD_HANDLER    *initHandler;    // INIT command handler
00057     tcsCMD_HANDLER    *exitHandler;    // EXIT command handler
00058     tcsCMD_HANDLER    *stopHandler;    // STOP command handler
00059     tcsCMD_HANDLER    *onlineHandler;  // ONLINE command handler
00060     tcsCMD_HANDLER    *standbyHandler; // STANDBY command handler
00061     tcsCMD_HANDLER    *offHandler;     // OFF command handler
00062     tcsCMD_HANDLER    *statusHandler;     // STATUS command handler
00063     tcsCMD_HANDLER    *verboseHandler;     // VERBOSE command handler
00064 
00065     tcsmonCON_MOON_CALC   *conMoonCalc;
00066     tcsmonCON_ENVIRONMENT *conEnvironment;
00067     tcsmonSchedHandler    *schedLog;
00068 };
00069 
00070 #endif // !tcsmonCON_MAIN_TASK_H

Generated on Wed Dec 3 14:52:21 2003 for ATCS API by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001