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

vtkTimeStamp Class Reference

record modification and/or execution time. More...

#include <vtkTimeStamp.h>

Collaboration diagram for vtkTimeStamp:

Collaboration graph
List of all members.

Public Methods

 vtkTimeStamp ()
void Delete ()
virtual const char * GetClassName ()
void Modified ()
unsigned long int GetMTime ()
int operator> (vtkTimeStamp &ts)
int operator< (vtkTimeStamp &ts)
 operator unsigned long ()

Static Public Methods

vtkTimeStamp * New ()

Detailed Description

record modification and/or execution time.

2000/12/10 20:08:19

vtkTimeStamp records a unique time when the method Modified() is executed. This time is guaranteed to be monotonically increasing. Classes use this object to record modified and/or execution time. There is built in support for the binary < and > comparison operators between two vtkTimeStamp objects.

vtkTimeStamp (examples)

Definition at line 61 of file vtkTimeStamp.h.

Constructor & Destructor Documentation

vtkTimeStamp::vtkTimeStamp   [inline]

Definition at line 64 of file vtkTimeStamp.h.

Member Function Documentation

vtkTimeStamp* vtkTimeStamp::New   [static]

void vtkTimeStamp::Delete   [inline]

Definition at line 66 of file vtkTimeStamp.h.

virtual const char* vtkTimeStamp::GetClassName   [inline, virtual]

Definition at line 68 of file vtkTimeStamp.h.

void vtkTimeStamp::Modified  

Set this objects time to the current time. The current time is just a monotonically increasing unsigned long integer. It is possible for this number to wrap around back to zero. This should only happen for processes that have been running for a very long time, while constantly changing objects within the program. When this does occur, the typical consequence should be that some filters will update themselves when really they don't need to.

Referenced by vtkObject::Modified().

unsigned long int vtkTimeStamp::GetMTime   [inline]

Return this object's Modified time.

Definition at line 80 of file vtkTimeStamp.h.

int vtkTimeStamp::operator> vtkTimeStamp &    ts [inline]

Support comparisons of time stamp objects directly.

Definition at line 83 of file vtkTimeStamp.h.

int vtkTimeStamp::operator< vtkTimeStamp &    ts [inline]

Definition at line 85 of file vtkTimeStamp.h.

vtkTimeStamp::operator unsigned long   [inline]

Allow for typecasting to unsigned long.

Definition at line 89 of file vtkTimeStamp.h.

The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:00:54 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001