diff options
Diffstat (limited to 'src/Fl_Timeout.h')
| -rw-r--r-- | src/Fl_Timeout.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/Fl_Timeout.h b/src/Fl_Timeout.h index 8cff84689..f6a54a7a6 100644 --- a/src/Fl_Timeout.h +++ b/src/Fl_Timeout.h @@ -29,19 +29,27 @@ - Fl::add_timeout() - Fl::repeat_timeout() - - Fl::remove_timeout() - Fl::has_timeout() + - Fl::remove_timeout() and related methods of class Fl_Timeout. */ /** - Class Fl_Timeout handles all timeout related functions. + The internal class Fl_Timeout handles all timeout related functions. + + All code is platform independent except retrieving a timestamp which + requires calling a system driver function and potentially results in + different timer resolutions (from milliseconds to microseconds). + + Related user documentation: + + - \ref Fl_Timeout_Handler + - Fl::add_timeout(double time, Fl_Timeout_Handler cb, void *data) + - Fl::repeat_timeout(double time, Fl_Timeout_Handler cb, void *data) + - Fl::has_timeout(Fl_Timeout_Handler cb, void *data) + - Fl::remove_timeout(Fl_Timeout_Handler cb, void *data) - All code is platform independent except retrieving a timestamp - which requires calling a system driver function and potentially - results in different timer resolutions (from milliseconds to - microseconds). */ class Fl_Timeout { @@ -62,8 +70,10 @@ protected: skip = 0; } + // destructor ~Fl_Timeout() {} + // get a new timer entry from the pool or allocate a new one static Fl_Timeout *get(double time, Fl_Timeout_Handler cb, void *data); // insert this timer into the active timer queue, sorted by expiration time |
