QGuiLed.hh

Go to the documentation of this file.
00001 
00002 #ifndef _QPG_LED_WIDGET_HH_
00003 #define _QPG_LED_WIDGET_HH_
00004 
00005 #include "QGuiCompositeFrame.hh"
00006 
00007 class TTimer;
00008 
00016 class QGuiLed: public QGuiCompositeFrame
00017 {
00018 public:
00019 
00020    QGuiLed(const TGWindow* parent, UInt_t w, UInt_t h);
00021    virtual ~QGuiLed();
00022 
00024    void Blink();
00025 
00027    void SetOn(bool on);
00028 
00030    void BlinkOff();
00031 
00032 private:
00033    const Long_t kBlinkDurationMs;
00034    bool fIsOn;
00035    TTimer *fTimer;
00036    QGuiCompositeFrame *fLedFrame;
00037 
00038    ClassDef(QGuiLed,0);
00039 };
00040 #endif

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