fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/Hw/SltPageStatusReg.h
Go to the documentation of this file.
00001 /* SltPageStatusReg.h: Schnittstelle für die Klasse SltPageStatusReg.
00002  *
00003  */
00004 
00005 #if !defined(AFX_SLTPAGESTATUS_H__658D9605_7C72_11D6_ADFF_0050040DB385__INCLUDED_)
00006 #define AFX_SLTPAGESTATUS_H__658D9605_7C72_11D6_ADFF_0050040DB385__INCLUDED_
00007 
00008 #include <Hw/SltDef.h>
00009 #include <Hw/SltRegisterVector.h>
00010 #include <Hw/sltpagestatus.h>
00011 
00012 
00013 class FEunitData;
00014 class FEunitDataBoolVector;
00015 
00022 class SltPageStatusReg : public SltRegisterVector {
00023 
00024 public:
00025 
00026         SltPageStatusReg(const char * name, int slotID, unsigned int regID, int r, int w, int len);
00027         
00028   virtual ~SltPageStatusReg();
00029 
00030 
00032   void get(SltPageStatus *status);
00033 
00034   void get(SltPageStatus& status);
00035 
00037   void setPageFilled(int page);
00038 
00040   void setPageFree(int page);
00041 
00042 
00048   int getLastFilledPage(unsigned long *mask=0);
00049 
00050   int getLastFilledPage(SltPageStatus *mask);
00051 
00052 
00056   void getChangedPages(unsigned long *changed, unsigned long *status, unsigned long *mask);
00057 
00058   void getChangedPages(SltPageStatus *changed, SltPageStatus *status, SltPageStatus *mask);
00059 
00064   bool isPageFilled(int page);
00065 
00066 
00068   virtual void get(FEunitData **data);
00069 };
00070 
00071 
00072 #endif // !defined(AFX_SLTPAGESTATUS_H__658D9605_7C72_11D6_ADFF_0050040DB385__INCLUDED_)