AGENT++
4.0.3
|
#include <tools.h>
Public Member Functions | |
Timer () | |
Timer (int life) | |
int | get_life () |
void | set_life (unsigned int sec) |
bool | in_time () |
int | due_time () |
bool | in_time (int frac) |
void | set_timestamp () |
time_t | get_timestamp () |
Protected Attributes | |
time_t | timestamp |
int | lifetime |
|
inline |
|
inline |
int Timer::due_time | ( | ) |
|
inline |
|
inline |
bool Timer::in_time | ( | ) |
bool Timer::in_time | ( | int | frac | ) |
|
inline |
|
inline |
|
protected |
|
protected |