Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

ObjCryst::RefinableObjClock Class Reference

We need to record exactly when refinable objects have been modified for the last time (to avoid re-computation), and to do that we need a precise time. More...

List of all members.

Public Methods

void Click ()
 Record an event for this clock (generally, the 'time' an object has been modified, or some computation has been made).

void Reset ()
 Reset a Clock to 0, to force an update.

void Print () const
 Print clock value. Only for debugging purposes.

void PrintStatic () const
 Print current general clock value. Only for debugging purposes.


Detailed Description

We need to record exactly when refinable objects have been modified for the last time (to avoid re-computation), and to do that we need a precise time.

Since the clock() function is not precise enough (and is architecture-dependant), we use a custom time, which records the number of events in the program which uses the library. This is purely internal, so don't worry about it...

The clock values have nothing to do with 'time' as any normal person undertands it.


The documentation for this class was generated from the following file:
Generated on Wed Jun 25 23:26:23 2003 for ObjCryst++ by doxygen1.2.18