17 #ifndef __igstkTimeStamp_h
18 #define __igstkTimeStamp_h
23 #include "itkNumericTraits.h"
113 void Print(std::ostream& os, itk::Indent indent)
const;
117 void PrintHeader(std::ostream& os, itk::Indent indent)
const;
120 itk::Indent itkNotUsed(indent))
const;
123 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
TimeStamp provides periods of validity for data.
TimePeriodType GetExpirationTime() const
Returns the time in milliseconds at which this stamp will expire.
static TimePeriodType GetZeroValue()
Get the zero time period on the machine.
std::ostream & operator<<(std::ostream &os, const igstk::AffineTransform &o)
TimePeriodType GetStartTime() const
Returns the time in milliseconds at which this stamp started to be valid.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print the object information in a stream.
void SetStartTimeNowAndExpireAfter(TimePeriodType millisecondsToExpire)
This method sets both the Start time and the Expiration time of the TimeStamp.
void PrintTrailer(std::ostream &itkNotUsed(os), itk::Indent itkNotUsed(indent)) const
const TimeStamp & operator=(const TimeStamp &inputTimeStamp)
Copy one time stamp into another.
void Print(std::ostream &os, itk::Indent indent) const
bool IsValidAtTime(TimePeriodType milliseconds) const
This method returns 'true' is the current TimeStamp is still valid at the time in milliseconds indica...
static TimeStamp ComputeOverlap(TimeStamp t1, TimeStamp t2)
Compute the intersection of two time stamps.
void PrintHeader(std::ostream &os, itk::Indent indent) const
static TimePeriodType GetLongestPossibleTime()
Define the longest time period on the machine.
bool IsValidNow() const
This method returns 'true' is the current TimeStamp is valid at the time when this method is called...
TimeStamp()
Constructor and destructor.