#include <pthread.h>
#include <sys/time.h>
#include <list>
#include <ext/hash_map>
#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::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 |
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.