Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
RealTimeClock for linux-systems. More...
#include <mitkLinuxRealTimeClock.h>
Public Member Functions | |
mitkClassMacro (mitk::LinuxRealTimeClock, mitk::RealTimeClock) | |
Pointer | Clone () const |
LinuxRealTimeClock () | |
basic contructor More... | |
virtual | ~LinuxRealTimeClock () |
basic contructor More... | |
virtual double | GetCurrentStamp () override |
returns the current time in milliseconds as a double More... | |
Public Member Functions inherited from mitk::RealTimeClock | |
mitkClassMacroItkParent (RealTimeClock, itk::Object) | |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::RealTimeClock | |
static Pointer | New (void) |
instanciates a new, operating-system dependant, instance of mitk::RealTimeClock. More... | |
RealTimeClock for linux-systems.
This class provides realtimeclock for linux-systems. It uses gettimeofday to acquire a current time-value as accurately as possible.
Definition at line 37 of file mitkLinuxRealTimeClock.h.
mitk::LinuxRealTimeClock::LinuxRealTimeClock | ( | ) |
|
virtual |
Pointer mitk::LinuxRealTimeClock::Clone | ( | ) | const |
|
overridevirtual |
returns the current time in milliseconds as a double
returns the current time in milliseconds
Gets the current time since the Epoch (01.01.1970). gettimeofday returns the elapsed time in microseconds.This value is calculated to milliseconds and returned as a double.
Implements mitk::RealTimeClock.
Definition at line 44 of file mitkLinuxRealTimeClock.cpp.
mitk::LinuxRealTimeClock::mitkClassMacro | ( | mitk::LinuxRealTimeClock | , |
mitk::RealTimeClock | |||
) |
|
static |
Referenced by mitk::RealTimeClock::New().