#include <pthread.h>#include <sys/time.h>#include <list>#include <boost/unordered_map.hpp>#include "protlib_types.h"#include "llhashers.h"

Go to the source code of this file.
Classes | |
| class | protlib::TimerCallback |
| Timer Callback. More... | |
| class | protlib::TimerManager |
| Timer Manager. More... | |
| struct | protlib::TimerManager::timer |
| timer item More... | |
Namespaces | |
| namespace | protlib |
Typedefs | |
| typedef uint64 | protlib::timer_id_t |
| timer ID | |
| typedef void * | protlib::timer_callback_param_t |
| timer callback parameter | |
----------------------------------------*- mode: C++; -*--
Basic TimerManager class ----------------------------------------------------------
Software Timer interface
You can create a software timer and attach a callback object to it. Timers are only accessed through their timer manager and thtimer ID. timer managers are thread-safe.
Definition in file timer.h.
1.6.1