Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitk::LinuxRealTimeClock Class Reference

RealTimeClock for linux-systems. More...

#include <mitkLinuxRealTimeClock.h>

Inheritance diagram for mitk::LinuxRealTimeClock:
Collaboration diagram for mitk::LinuxRealTimeClock:

Public Member Functions

 mitkClassMacro (mitk::LinuxRealTimeClock, mitk::RealTimeClock)
Pointer Clone () const
 LinuxRealTimeClock ()
 basic contructor More...
 ~LinuxRealTimeClock () override
 basic contructor More...
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...

Detailed Description

RealTimeClock for linux-systems.

This class provides realtimeclock for linux-systems. It uses gettimeofday to acquire a current time-value as accurately as possible.

Returns the current time since the Epoch (01.01.1970) in milliseconds as a double

Definition at line 33 of file mitkLinuxRealTimeClock.h.

Constructor & Destructor Documentation

◆ LinuxRealTimeClock()

mitk::LinuxRealTimeClock::LinuxRealTimeClock ( )

basic contructor

◆ ~LinuxRealTimeClock()

mitk::LinuxRealTimeClock::~LinuxRealTimeClock ( )

basic contructor

Member Function Documentation

◆ Clone()

Pointer mitk::LinuxRealTimeClock::Clone ( ) const

◆ GetCurrentStamp()

double mitk::LinuxRealTimeClock::GetCurrentStamp ( )

returns the current time in milliseconds as a double

Implements mitk::RealTimeClock.

◆ mitkClassMacro()

mitk::LinuxRealTimeClock::mitkClassMacro ( mitk::LinuxRealTimeClock  ,

◆ New()

static Pointer mitk::LinuxRealTimeClock::New ( )

The documentation for this class was generated from the following file: