fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/hw4/flthitratemargins.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     flthitratemargins.h  -  description
00003 
00004     begin                : Mon Jul 3 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef _HW4_FLTHITRATEMARGINS_H_INCLUDED
00011 #define _HW4_FLTHITRATEMARGINS_H_INCLUDED
00012 
00013 
00014 #include <hw4/fltdef.h>
00015 #include <hw4/baseregister.h>
00016 
00017 
00018 namespace hw4 {
00019 
00020 // --- forward declaration(s)
00021 
00022 class BaseRegisterItem;
00023 
00037 class FltHitrateMargins : public BaseRegister {
00038 public:
00039   FltHitrateMargins(const char *name, int slotID, int regID, int r, int w);
00040   ~FltHitrateMargins();
00041 
00042 
00043   BaseRegisterItem *L;
00044   BaseRegisterItem *LL;
00045   BaseRegisterItem *LLL;
00046   BaseRegisterItem *H;
00047   BaseRegisterItem *HH;
00048   BaseRegisterItem *HHH;
00049 
00050   BaseRegisterItem *low;
00051   BaseRegisterItem *high;
00052 
00053 
00054 
00055   void getLow(int *marginL, int *marginLL, int *marginLLL);
00056   
00057   void getHigh(int *marginH, int *marginHH, int *marginHHH);
00058 
00059   void get(int *marginLLL, int *marginLL, int *marginL,
00060             int *marginH, int *marginHH, int *marginHHH);
00061 
00062 
00063   void setLow(int marginL, int marginLL, int marginLLL);
00064   
00065   void setHigh(int marginH, int marginHH, int marginHHH);
00066 
00067   void set(int marginLLL, int marginLL, int marginL,
00068             int marginH, int marginHH, int marginHHH);
00069 };
00070 
00071 } // namespace hw4
00072 
00073 #endif // _HW4_FLTHITRATEMARGINS_H_INCLUDED
00074