MPulserCheck.hh

00001 
00062 #ifndef _M_PULSERCHECK_HH_
00063 #define _M_PULSERCHECK_HH_
00064 
00065 #include "QModule.hh"
00066 
00067 class MPulserCheck : public QModule
00068 {
00069 public:
00071    MPulserCheck(QSequence* s);
00072    
00074    ~MPulserCheck();
00075    
00080    void Init();
00081    
00087    QEvent* Do(QEvent* ev);
00088 
00090    void Done();
00091 private:
00092    
00093    time_t fLastPulserTime; 
00094    time_t fLastMailTime;   
00095    bool fSkipThisModule;   
00101    time_t fCheckPeriod;
00102 
00104    std::list<std::string> fRecipients;
00105 
00110    bool fResendMail;
00111 
00113    time_t fResendPeriod;
00114 
00120    void ParseRecipients(const std::string& recipients);
00121 
00123    std::string CheckRecipient(std::string& recipient) const;
00124 
00129    void NotifyFailure(time_t evTime);
00130 
00131 };
00132 
00133 #endif

Generated on Tue Nov 16 10:49:57 2010 for CUORE Software by  doxygen 1.5.6