00001 00002 #ifndef _M_LCMEASCOLLECTOR_HH_ 00003 #define _M_LCMEASCOLLECTOR_HH_ 00004 00005 #include "QModule.hh" 00006 00007 #include <map> 00008 #include <set> 00009 00010 class QBaseLoadCurve; 00011 class QEleChannelConfig; 00012 00042 class MLCMeasCollector: public QModule 00043 { 00044 00045 public: 00047 MLCMeasCollector(QSequence* s); 00048 00050 ~MLCMeasCollector(); 00051 00053 void Init(); 00054 00056 QEvent* Do(QEvent* ev); 00057 00059 void Done(); 00060 private: 00062 std::map<int, QBaseLoadCurve*> fCurves; 00063 00072 std::map<unsigned int, QEleChannelConfig> fEleConfigs; 00073 00075 std::set<int> fChannelsWithHeater; 00076 00078 std::set<int> fWrongPolarityChannels; 00079 00081 std::set<int> fActiveChannels; 00082 00084 bool fFirstCall; 00085 00087 void ReadInitFile(const std::string& fileName); 00088 }; 00089 #endif