2 #include "../acl_cpp_define.hpp" 3 #include "../stdlib/noncopyable.hpp" 39 return tasks_.empty();
55 void keep_timer(
bool on);
78 virtual void timer_callback(
unsigned int id) = 0;
83 #if defined(_WIN32) || defined(_WIN64) 92 __int64 set_task(
unsigned int id, __int64 delay);
99 __int64 del_task(
unsigned int id);
101 long long int set_task(
unsigned int id,
long long int delay);
102 long long int del_task(
unsigned int id);
111 #if defined(_WIN32) || defined(_WIN64) 112 __int64 trigger(
void);
113 __int64 min_delay(
void)
const 118 long long int trigger(
void);
126 #if defined(_WIN32) || defined(_WIN64) 136 std::list<event_task*> tasks_;
138 #if defined(_WIN32) || defined(_WIN64) 139 __int64 set_task(event_task* task);
141 long long int set_task(event_task* task);
long long int min_delay(void) const
virtual void destroy(void)
size_t length(void) const
bool keep_timer(void) const