#include <vtkTimeStamp.h>
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.
Definition at line 33 of file vtkTimeStamp.h.
Public Member Functions | |
vtkTimeStamp () | |
void | Delete () |
void | Modified () |
operator unsigned long () | |
unsigned long int | GetMTime () |
int | operator> (vtkTimeStamp &ts) |
int | operator< (vtkTimeStamp &ts) |
Static Public Member Functions | |
static vtkTimeStamp * | New () |
|
Definition at line 36 of file vtkTimeStamp.h. |
|
|
|
Definition at line 38 of file vtkTimeStamp.h. |
|
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 vtkLookupTable::WritePointer(). |
|
Return this object's Modified time. Definition at line 50 of file vtkTimeStamp.h. |
|
Support comparisons of time stamp objects directly. Definition at line 54 of file vtkTimeStamp.h. References ModifiedTime. |
|
Return this object's Modified time. Definition at line 56 of file vtkTimeStamp.h. References ModifiedTime. |
|
Allow for typecasting to unsigned long. Definition at line 61 of file vtkTimeStamp.h. |