Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef UT_WIN32IDLE_H
00023 #define UT_WIN32IDLE_H
00024
00025 #include "ut_idle.h"
00026 #include "ut_vector.h"
00027
00028 class ABI_EXPORT UT_Win32Idle : public UT_Idle
00029 {
00030 public:
00031 UT_Win32Idle(UT_WorkerCallback pCallback, void* pData);
00032 ~UT_Win32Idle();
00033
00034 virtual void stop(void);
00035 virtual void start(void);
00036
00037 static bool _isEmpty();
00038 static void _fireall();
00039 protected:
00040 static void _register(UT_Idle *);
00041 static void _unregister(UT_Idle *);
00042
00043 private:
00044 static UT_Vector static_vecIdles;
00045
00046 bool m_bRunning;
00047 };
00048
00049 #endif
00050