fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/hw4/fltthreshold.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     fltthreshold.h  -  description
00003 
00004     begin                : Mon Aug 7 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef _HW4_FLTTHRESHOLD_H_INCLUDED
00011 #define _HW4_FLTTHRESHOLD_H_INCLUDED
00012 
00013 #include <hw4/fltdef.h>
00014 #include <hw4/baseregister.h>
00015 
00016 
00017 namespace hw4 {
00018 
00019 // --- forward declaration(s)
00020 
00021 class BaseRegisterItem;
00022 
00048 class FltThreshold : public BaseRegister {
00049 public: 
00050   FltThreshold(const char *name, int slotID, int regID, int r, int w, int len, int addrShift);
00051   ~FltThreshold();
00052 
00053 
00055   BaseRegisterItem *actual;
00056   
00060   BaseRegisterItem *delta;
00061   
00063   BaseRegisterItem *sign;
00064 
00066   int getActual(int ch);
00067 
00069   int getPrevious(int ch);
00070 };
00071 
00072 } // namespace hw4
00073         
00074 #endif // _HW4_FLTTHRESHOLD_H_INCLUDED
00075