00001 #ifndef prs_H 00002 #define prs_H 00003 /******************************************************************************* 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: prs.h,v 1.109 2003/11/12 08:55:17 vltsccm Exp $" 00007 * 00008 * who when what 00009 * -------- -------- ---------------------------------------------- 00010 * gchiozzi 22/05/96 Added name map for ADC type 00011 * gchiozzi 17/08/95 Added include of tcs.h 00012 * gchiozzi 01/08/95 Added include to new tcs.h 00013 * gchiozzi 03/05/95 created 00014 */ 00015 00016 /************************************************************************ 00017 * 00018 * General include file for the "prs" module. 00019 * It contains common definitions used in every component of the module 00020 */ 00021 00022 #ifndef __cplusplus 00023 #error This is a C++ include file and cannot be used from plain C 00024 #endif 00025 00026 #include "eccsTestTools.h" 00027 00028 #include "tcs.h" 00029 00030 /* 00031 * Includes with error messages 00032 */ 00033 #include "prsErrors.h" 00034 00035 00036 /* 00037 * Defines for the target telescope. 00038 * The default target is VLT 00039 * Up to now only VLT and NTT 00040 * All other common defines used both in C/C++ code and dbLoader definitions 00041 */ 00042 00043 #include "tcs.h" 00044 #include "prsDefines.h" 00045 00046 /* 00047 * Value/Name conversion tables: 00048 * The defines for both values and names are in prsDefines.h 00049 * Other applications sending or receiving these values/string 00050 * can include this file and link the file prs.C with the code 00051 * for the mapping functions. 00052 * We have to think if there is a better place where to put these 00053 * common things. 00054 */ 00055 00056 #include "fndNAME_MAP.h" 00057 00058 extern fndNAME_MAP prsTargetNameMap; 00059 extern fndNAME_MAP prsPrsTypeNameMap; 00060 extern fndNAME_MAP prsStateNameMap; 00061 extern fndNAME_MAP prsAutoGuideNameMap; 00062 extern fndNAME_MAP prsAdcTypeNameMap; 00063 00064 #include "oslx.h" 00065 00066 #endif