2 #include "../acl_cpp_define.hpp" 44 bool empty(
void)
const;
50 size_t length(
void)
const;
56 void keep_timer(
bool on);
62 bool keep_timer(
void)
const;
79 virtual void timer_callback(
unsigned int id) = 0;
84 #if defined(_WIN32) || defined(_WIN64) 95 __int64 set_task(
unsigned int id, __int64 delay);
102 __int64 del_task(
unsigned int id);
105 long long int set_task(
unsigned int id,
long long int delay);
106 long long int del_task(
unsigned int id);
117 std::list<aio_timer_task*> tasks_;
119 bool destroy_on_unlock_;
120 #if defined(_WIN32) || defined(_WIN64) 121 __int64 set_task(aio_timer_task* task);
122 __int64 trigger(
void);
124 long long int set_task(aio_timer_task* task);
125 long long int trigger(
void);
virtual void destroy(void)