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

vtkTimeStamp Class Reference

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

#include <vtkTimeStamp.h>

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.

Date:
2000/12/10 20:08:19
Revision:
1.41

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.


Member Function Documentation

unsigned long int vtkTimeStamp::GetMTime   [inline]
 

Return this object's Modified time.

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.

vtkTimeStamp::operator unsigned long   [inline]
 

Allow for typecasting to unsigned long.

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

Support comparisons of time stamp objects directly.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:33:49 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002