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

tcsMAIN_HANDLER.h

Go to the documentation of this file.
00001 #ifndef tcsMAIN_HANDLER_H
00002 #define tcsMAIN_HANDLER_H
00003 /*******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: tcsMAIN_HANDLER.h,v 1.136 2003/11/27 15:10:03 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  ----------------------------------------------
00010 * gchiozzi  21/02/97  Now inherits from tcsBASE
00011 * gchiozzi  20/07/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 "tcs.h"
00024 #include "tcsBASE.h"
00025 
00026 #include "eccsErr.h"
00027 
00028 template<class T>
00029 class tcsMAIN_HANDLER : public eccsERROR_CLASS, public tcsBASE
00030 {
00031   public:
00032     tcsMAIN_HANDLER();
00033     virtual ~tcsMAIN_HANDLER();
00034 
00035     ccsCOMPL_STAT Init(int argCount, char *arg[]);
00036     ccsCOMPL_STAT RunMainLoop(T *obj, ccsCOMPL_STAT(T::* recover)());
00037     
00038   protected:
00039     virtual ccsCOMPL_STAT EvaluateArgs(int argCount, char *arg[], 
00040                ccsPROCNAME pname);
00041 };
00042 
00043 #include "tcsMAIN_HANDLER.icc"
00044 
00045 #endif 

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