00001
00002
00003
00004
00005
00006
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
00021 QPollChain (QDescriptorList* List, int Timeout=100);
00022
00023
00024 virtual ~QPollChain() {}
00025
00026
00027 void DoPoll (void);
00028
00029 private:
00030 QDescriptorList* fList;
00031
00032 int fTimeOut;
00033
00034 void fds_add (void);
00035 void fds_del (int);
00036
00037 };
00038
00039 #endif // _POLL_CHAIN_HH_