Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Periodic Class Reference

Do something every x seconds. More...

#include <CppTools.hpp>

List of all members.

Public Member Functions

 Periodic (double nperiod=.1)
double total ()
void change_period (double nperiod)
double real_period ()
int operator() (double *prperiod=NULL)

Private Attributes

double t0
double last
double period
double rperiod

Detailed Description

Do something every x seconds.

Use () operator to know if time has elapsed

Definition at line 251 of file CppTools.hpp.

The documentation for this class was generated from the following file:
Generated on Fri Jun 17 13:36:19 2005 for ImLib3D by  doxygen 1.4.2