QGuiPulserController.hh

Go to the documentation of this file.
00001 
00002 #ifndef _QGUI_PULSER_CONTROLLER_HH_
00003 #define _QGUI_PULSER_CONTROLLER_HH_
00004 
00005 #include "QBasePulserController.hh"
00006 #include "QGuiSharedMemory.hh"
00007 
00008 class QPulserGroupList;
00009 
00015 class QGuiPulserController: public QBasePulserController
00016 {
00017 public:
00019    QGuiPulserController();
00020 
00022    virtual ~QGuiPulserController();
00023 
00028    void Init(int settingsBasket, const QPulserGroupList* groups = NULL);
00029 
00034    bool WaitForStop(int timeoutSec);
00035 
00036 protected:      
00038    virtual void HandleTimeOutChild();
00039    
00041    virtual void StorePulseId(unsigned int pulseId)
00042    { fLastPulseId = pulseId; }
00043 
00044 private:
00046    void BuildGroups(const QPulserGroupList& groups);
00047 
00049    unsigned int fLastPulseId;
00051    QGuiSharedMemory *fSharedMemory;
00052 };
00053 
00054 #endif

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