ITK
5.4.0
Insight Toolkit
|
#include <itkRealTimeStamp.h>
The RealTimeStamp is a data structure for representing time with high precision and a large dynamic range.
This class represents time typically for applications that need to mark the time of acquisition of data with high precision (microseconds) and a large dynamic range (years).
By default, the real time stamp is initialized to the origin of the Unix epoch. That is the time 00:00:00 UTC on 1 January 1970 (or 1970-01-01T00:00:00Z ISO 8601)
Definition at line 45 of file itkRealTimeStamp.h.
Public Types | |
using | Self = RealTimeStamp |
using | TimeRepresentationType = RealTimeInterval::TimeRepresentationType |
Private Types | |
using | MicroSecondsCounterType = uint64_t |
using | MicroSecondsDifferenceType = RealTimeInterval::MicroSecondsDifferenceType |
using | SecondsCounterType = uint64_t |
using | SecondsDifferenceType = RealTimeInterval::SecondsDifferenceType |
Private Member Functions | |
RealTimeStamp (SecondsCounterType, MicroSecondsCounterType) | |
Private Attributes | |
MicroSecondsCounterType | m_MicroSeconds |
SecondsCounterType | m_Seconds |
Friends | |
ITKCommon_EXPORT std::ostream & | operator<< (std::ostream &os, const RealTimeStamp &v) |
class | RealTimeClock |
|
private |
Definition at line 116 of file itkRealTimeStamp.h.
|
private |
Definition at line 122 of file itkRealTimeStamp.h.
|
private |
Definition at line 115 of file itkRealTimeStamp.h.
Definition at line 121 of file itkRealTimeStamp.h.
Definition at line 48 of file itkRealTimeStamp.h.
Native type used to represent the time in different time units.
Definition at line 66 of file itkRealTimeStamp.h.
itk::RealTimeStamp::RealTimeStamp | ( | ) |
Constructor
itk::RealTimeStamp::~RealTimeStamp | ( | ) |
Destructor
|
default |
|
default |
|
private |
Constructor with values. Intentionally made private
TimeRepresentationType itk::RealTimeStamp::GetTimeInDays | ( | ) | const |
Return time in multiple units.
TimeRepresentationType itk::RealTimeStamp::GetTimeInHours | ( | ) | const |
Return time in multiple units.
TimeRepresentationType itk::RealTimeStamp::GetTimeInMicroSeconds | ( | ) | const |
Return time in multiple units.
TimeRepresentationType itk::RealTimeStamp::GetTimeInMilliSeconds | ( | ) | const |
Return time in multiple units.
TimeRepresentationType itk::RealTimeStamp::GetTimeInMinutes | ( | ) | const |
Return time in multiple units.
TimeRepresentationType itk::RealTimeStamp::GetTimeInSeconds | ( | ) | const |
Return time in multiple units.
itk::RealTimeStamp::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Self | ) |
Comparison operations.
Self itk::RealTimeStamp::operator+ | ( | const RealTimeInterval & | ) | const |
Arithmetic operations between RealTimeInterval and RealTimeStamp.
const Self & itk::RealTimeStamp::operator+= | ( | const RealTimeInterval & | ) |
Arithmetic operations between RealTimeInterval and RealTimeStamp.
Self itk::RealTimeStamp::operator- | ( | const RealTimeInterval & | ) | const |
Arithmetic operations between RealTimeInterval and RealTimeStamp.
RealTimeInterval itk::RealTimeStamp::operator- | ( | const Self & | ) | const |
Arithmetic operations between RealTimeInterval and RealTimeStamp.
const Self & itk::RealTimeStamp::operator-= | ( | const RealTimeInterval & | ) |
Arithmetic operations between RealTimeInterval and RealTimeStamp.
bool itk::RealTimeStamp::operator< | ( | const Self & | ) | const |
Comparison operations.
bool itk::RealTimeStamp::operator<= | ( | const Self & | ) | const |
Comparison operations.
|
default |
|
default |
bool itk::RealTimeStamp::operator== | ( | const Self & | ) | const |
Comparison operations.
bool itk::RealTimeStamp::operator> | ( | const Self & | ) | const |
Comparison operations.
bool itk::RealTimeStamp::operator>= | ( | const Self & | ) | const |
Comparison operations.
|
friend |
Default print out of a RealTimeStamp
|
friend |
Definition at line 50 of file itkRealTimeStamp.h.
|
private |
Definition at line 126 of file itkRealTimeStamp.h.
|
private |
Number of Seconds and Microseconds since...
Definition at line 125 of file itkRealTimeStamp.h.