fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 kasubrack.h - description 00003 ------------------- 00004 begin : Mo Jul 11 2005 00005 copyright : (C) 2005 by 00006 email : 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KASUBRACK_H 00019 #define KASUBRACK_H 00020 00021 #include <Hw/subrackbase.h> 00022 #include <FE/feunit.h> 00023 00024 #include <Hw/Slt.h> 00025 #include <katrinhw/kaflt.h> 00026 00027 00028 #define KA_MAX_UNITS 100 00029 00030 //class KaSlt; 00031 class KaFlt; 00032 class Slt; 00033 00034 00056 class KaSubrack : public SubrackBase { 00057 public: 00058 KaSubrack(const char *inifile, int mode=0); 00059 00075 unsigned long setActualTime(int slot = -1); 00076 00104 int checkActualTime(long int *tDiff, long int *tDiffEye, int * tMeas, int *tPhase, 00105 long int *tDiffGps=0, int id=0, int n=1); 00106 00107 00108 00112 void reset(); 00113 00117 void configure(); 00118 00119 00120 Slt * slt; 00121 Slt * theSlt; 00122 00123 KaFlt * flt[20]; 00124 KaFlt * theFlt[20]; 00125 00128 FEunit *unitList[KA_MAX_UNITS]; 00129 00131 int nUnits; 00132 00133 00134 private: 00135 00136 }; 00137 00138 #endif