AGENT++  4.0.3
Public Member Functions | Protected Attributes | List of all members
Timer Class Reference

#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
 

Constructor & Destructor Documentation

Timer::Timer ( )
inline
Timer::Timer ( int  life)
inline

Member Function Documentation

int Timer::due_time ( )
int Timer::get_life ( )
inline
time_t Timer::get_timestamp ( )
inline
bool Timer::in_time ( )
bool Timer::in_time ( int  frac)
void Timer::set_life ( unsigned int  sec)
inline
void Timer::set_timestamp ( )
inline

Member Data Documentation

int Timer::lifetime
protected
time_t Timer::timestamp
protected

The documentation for this class was generated from the following file: