fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/FE/fe4configuration.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     fe4configuration.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 FE4CONFIGURATION_H
00011 #define FE4CONFIGURATION_H
00012 
00013 #include <string>
00014 
00015 #include <hw4/subrackauger.h>
00016 
00017 #include <FE/FEdef.h>
00018 
00019 #include <hw4/fltdef.h>
00020 #include <hw4/sltdef.h>
00021 
00022 #include <FE/febaseconfiguration.h>
00023 
00024 //#include <FE/feunit.h>
00025 
00026 
00027 
00028 //class FEunitData;
00029 
00054 class FE4configuration : public FEbaseConfiguration
00055 {
00056   std::string name;
00057   
00058 public:
00059   FE4configuration(hw4::SubrackAuger *subrack);
00060 
00061 //  // avoid shadowing the other method(s)
00062 //  using FEunit::get;
00063 //  
00064 //  void get(FEunitData **data);
00065   
00066     
00073   unsigned long getColumnList();
00074 
00075   bool isPresent(int col);
00076 
00084   unsigned long checkColumnList();
00085 
00111   void init();
00112 
00132   int getInhibitSource();
00133 
00140   void setInhibitSource(int source);
00141 
00143   bool isInhibited();
00144 
00146   void setInhibit();
00147 
00153   void releaseInhibit();
00154 
00156   bool isVeto();
00157 
00158 protected:
00159 
00161   void checkStatus(const char * where);
00162   
00163 private:
00164   hw4::SubrackAuger *s;
00165 };
00166 
00167 #endif // FE4CONFIGURATION_H
00168 
00169