|
ALBA
|
#include <albaMTime.h>


Public Member Functions | |
| albaMTime () | |
| virtual const char * | GetTypeName () |
| void | Modified () |
| vtkMTimeType | GetMTime () const |
| int | operator> (albaMTime &ts) |
| int | operator< (albaMTime &ts) |
| operator vtkMTimeType () | |
albaMTime - record modification timestamp.
albaMTime records a unique time stamp when the method Modified() is called. This time is guaranteed to be monotonically increasing. If ALBA is build with VTK compilation enabled (ALBA_USE_VTK) this object uses a vtkTimeStamp as counter to have a unique time stamp against the two libraries.
Definition at line 38 of file albaMTime.h.
|
inline |
Definition at line 41 of file albaMTime.h.
|
inlinevirtual |
Definition at line 45 of file albaMTime.h.
| void albaMTime::Modified | ( | ) |
Update this object modification time.
The modification 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 albaTransformBase::Modified().
| vtkMTimeType albaMTime::GetMTime | ( | ) | const |
Return this object's Modified time.
Referenced by operator<(), and operator>().
|
inline |
Support comparisons of time stamp objects directly.
Definition at line 62 of file albaMTime.h.
References GetMTime().

|
inline |
Definition at line 63 of file albaMTime.h.
References GetMTime().

|
inline |
Allow for typecasting to unsigned long.
Definition at line 66 of file albaMTime.h.