MSetHeaterFlag.hh
Go to the documentation of this file.00001 #ifndef _M_SETHEATERFLAG_HH_
00002 #define _M_SETHEATERFLAG_HH_
00003
00019 #include "QModule.hh"
00020 #include "QEvent.hh"
00021
00022 class MSetHeaterFlag : public QModule {
00023
00024 public:
00026 MSetHeaterFlag(const std::string& name, QSequence* s);
00027
00029 ~MSetHeaterFlag();
00030
00032 virtual void Init() {}
00033
00035 virtual QEvent* Do(QEvent* ev) = 0;
00036
00038 virtual void Done() {}
00039
00040 protected:
00041
00042 void SetHeater(QEvent* ev, bool isHeater, bool isStabHeater);
00043 void SetLowHeater(QEvent* ev, bool isHeater, bool isLowHeater);
00044 void SetHighHeater(QEvent* ev, bool isHeater, bool isHighHeater);
00045
00046 };
00047
00048 #endif
00049