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

pom.h

Go to the documentation of this file.
00001 #ifndef TCSTMP_H
00002 #define TCSTMP_H
00003 /****************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: pom.h,v 1.69 2003/09/17 16:04:57 vltsccm Exp $"
00007 *
00008 * who       when      what
00009 * --------  --------  -----------------------------------------------------
00010 * rkarban   14/05/97  created
00011 */
00012 
00013 /****************************************************************************
00014  * Common service routines.
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 // system includes
00024 #include <pwd.h>
00025 #include <iomanip>
00026 //#include <iostream>
00027 #include <sstream>
00028 #include <sys/stat.h>
00029 #include <fstream>
00030 #include <string>
00031 #include <list>
00032 #include <vector>
00033 //using namespace std;
00034 
00035 //
00036 // VLTROOT includes
00037 #include <ECCS.h>
00038 #include <fndOBJECT.h>
00039 #include <fndSTRING.h>
00040 #include <eccsErr.h>
00041 #include <eccsDB_ATTR.h>
00042 #include <eccsTestTools.h>
00043 #include <evhCALLBACK.h>
00044 #include <evhTASK.h>
00045 #include <evhDB_TASK.h>
00046 #include <evhCOMMAND.h>
00047 #include <evhSTD_COMMANDS.h>
00048 #include <evhSTD_COMMANDS_NAMES.h>
00049 
00050 //
00051 // INTROOT includes
00052 #include <tif.h>
00053 #include <tcsBASE.h>
00054 #include <tcsSTATE.h>
00055 #include <tcsCMD_HANDLER.h>
00056 
00057 //
00058 // local includes
00059 #include "pomDefines.h"
00060 #include "pomErrors.h"
00061 
00062 /*
00063  * Macros to read from and write to the database
00064  */
00065 #define DB_READ(h,var,type, point, attrName)                                   \
00066   {                                                            \
00067         eccsDB_##type attrName##Attr(point, attrName);             \
00068   var = attrName##Attr;                                        \
00069   if (attrName##Attr.ErrStatus() == FAILURE)                   \
00070             {                                                        \
00071             ErrAdd(pomMOD, pomERR_DB_READ, __FILE_LINE__,        \
00072                    "configuration parameter", point, attrName);    \
00073             if (h) SendErrReplyCheck(h);                                    \
00074             }                                                        \
00075       }
00076 
00077 /* 
00078  * Prototypes
00079  */
00080 vltLOGICAL pomObjectOk(eccsERROR_CLASS *object, const char *name);
00081 
00082 
00083 #endif // !TCSTMP_H

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