fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/hw4/subrack.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     Subrack.h  -  description
00003 
00004     begin                : Thu Jun 29 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef _HW4_SUBRACK_H_INCLUDED
00011 #define _HW4_SUBRACK_H_INCLUDED
00012 
00013 
00014 #define SUBRACK_VER 100
00015 
00016 #include <cstdio>
00017 
00018 #include <akutil/akinifile.h>
00019 
00020 #include <Hw/subrackbase.h>
00021 #include <hw4/slt.h>
00022 #include <hw4/flt.h>
00023 
00024 
00413 // --- forward declaration(s)
00414 
00415 class SimpleSocket;
00416 
00417 namespace hw4 {
00418 
00419 // --- forward declaration(s)
00420 
00421 class Flt;
00422 class Slt;
00423         
00433 class Subrack : public SubrackBase {
00434 
00435 public:
00443   Subrack(const char *inifile="FE.ini",int mode=0);
00444 
00445   ~Subrack();
00446 
00447 
00451   void init(FILE *fout, char *inifile);
00452         
00453         
00454         
00462   void dumpRegisters(FILE *fout=stdout, int cols = 8);
00463 
00464   hw4::Slt * theSlt;
00465 
00466   hw4::Flt * theFlt[20];
00467 };
00468 
00469 } // namespace hw4
00470 
00471 
00472 #endif // _HW4_SUBRACK_H_INCLUDED
00473