fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/Hw/sltmultiplicityparameter.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     sltmultiplicityparameter.h  -  description
00003 
00004     begin                : Tue Oct 02 2007
00005     copyright            : (C) 2007 by A Kopmann
00006     email                : kopmann@ipe.fzk.de
00007     status               :
00008     test                 :
00009     history              :
00010  ***************************************************************************/
00011 
00012 #ifndef SLTMULTIPLICITYPARAMETER_H
00013 #define SLTMULTIPLICITYPARAMETER_H
00014 
00015 #include <Hw/SltDef.h>
00016 #include <Hw/SltRegisterVector.h>
00017 
00018 
00031 class SltMultiplicityParameter : public SltRegisterVector {
00032 
00033 public:
00034 
00036   SltMultiplicityParameter(const char * name, int slotID, unsigned int regID, int r, int w, int len);
00037         
00039   virtual ~SltMultiplicityParameter();
00040 
00041   /* This is needed in order not to shadow the base class' method ! */
00042   using SltRegisterVector::get;
00043   
00045   void get(unsigned long *M, unsigned long *N);
00046 
00047 
00049   void set(unsigned long M, unsigned long N);
00050 
00051 };
00052 
00053 
00054 #endif // SLTMULTIPLICITYPARAMETER_H