QGuiSharedMemory.hh

Go to the documentation of this file.
00001 
00002 #ifndef _QGUI_SHARED_MEMORY_HH_
00003 #define _QGUI_SHARED_MEMORY_HH_
00004 
00005 #include "QSharedMemory.hh"
00006 #include "QSemaphore.hh"
00007 
00014 class QGuiSharedMemory: public QSharedMemory
00015 {
00016 public:
00021    QGuiSharedMemory(bool owner);
00022    
00024    virtual ~QGuiSharedMemory();
00025 
00027    bool GetValue(unsigned int& value);
00028 
00030    bool SetValue(unsigned int value);
00031 
00032 protected:
00034    virtual bool Init(bool owner, int shmId);
00035 
00036 private:   
00038    QSemaphore fSemaphore;
00040    unsigned int* fChildPointer;
00041 };
00042 #endif

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