QPollChain.hh

00001 /*
00002 * APOLLO: A complete DAQ and Online Data Analysis Framework for Cuore 
00003 * $Id: QPollChain.hh 3 2006-04-20 17:37:43Z pallas $
00004 * M.P. created 16/4/4
00005 * 
00006 * Class QCommand: base class for all commands
00007 *
00008 */
00009 #ifndef _POLL_CHAIN_HH_
00010 #define _POLL_CHAIN_HH_
00011 
00012 #include "QCuore.hh"
00013 
00014 class QDescriptorList;
00015 
00016 class QPollChain 
00017 {
00018 public:
00019    
00020   // ctor
00021   QPollChain (QDescriptorList* List, int Timeout=100);
00022   
00023   // dtor
00024   virtual ~QPollChain() {}
00025   
00026   
00027   void DoPoll (void);
00028   
00029 private:
00030   QDescriptorList* fList;
00031    
00032   int fTimeOut;           // time out in ms
00033 
00034   void fds_add (void);
00035   void fds_del (int);
00036 
00037 };
00038 
00039 #endif // _POLL_CHAIN_HH_

Generated on Fri Mar 6 13:40:39 2009 for CUORE Software by  doxygen 1.5.1