MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
MAKLogger::DtWallClockTimeProvider Class Reference

An implementation of DtTimeProvider which provides time in real time according to the system clock. More...

+ Inheritance diagram for MAKLogger::DtWallClockTimeProvider:
+ Collaboration diagram for MAKLogger::DtWallClockTimeProvider:

Public Member Functions

 DtWallClockTimeProvider ()
 CTOR. More...
 
virtual ~DtWallClockTimeProvider ()
 DTOR. More...
 
virtual void tick ()
 Increase time advance this will use wall clock time to update the advance. More...
 
virtual void resetTick ()
 Reset the clock as if the last tick happened now (with the current time) More...
 
virtual DtTime currentTime () const
 Get the current time. More...
 
virtual DtTime elapsedTime () const
 Get the elapsed time since the last tick. More...
 
virtual DtTime timeOffset () const
 Get the time offset. More...
 
- Public Member Functions inherited from MAKLogger::DtTimeProvider
 DtTimeProvider ()
 CTOR. More...
 
virtual ~DtTimeProvider ()
 DTOR. More...
 
virtual DtTime timeAdvanced () const
 Get the time advanced as a result of the last tick. More...
 
virtual void setTimeAdvanced (DtTime timeValue)
 Set the time advanced as a result of the last tick. More...
 

Protected Attributes

DtClock myClock
 
DtTime myLastTime
 
- Protected Attributes inherited from MAKLogger::DtTimeProvider
DtTime myTimeAdvance
 

Detailed Description

An implementation of DtTimeProvider which provides time in real time according to the system clock.

Constructor & Destructor Documentation

MAKLogger::DtWallClockTimeProvider::DtWallClockTimeProvider ( )

CTOR.

virtual MAKLogger::DtWallClockTimeProvider::~DtWallClockTimeProvider ( )
virtual

DTOR.

Member Function Documentation

virtual DtTime MAKLogger::DtWallClockTimeProvider::currentTime ( ) const
virtual

Get the current time.

Implements MAKLogger::DtTimeProvider.

virtual DtTime MAKLogger::DtWallClockTimeProvider::elapsedTime ( ) const
virtual

Get the elapsed time since the last tick.

Implements MAKLogger::DtTimeProvider.

virtual void MAKLogger::DtWallClockTimeProvider::resetTick ( )
virtual

Reset the clock as if the last tick happened now (with the current time)

Implements MAKLogger::DtTimeProvider.

virtual void MAKLogger::DtWallClockTimeProvider::tick ( )
virtual

Increase time advance this will use wall clock time to update the advance.

Implements MAKLogger::DtTimeProvider.

virtual DtTime MAKLogger::DtWallClockTimeProvider::timeOffset ( ) const
virtual

Get the time offset.

Implements MAKLogger::DtTimeProvider.

Member Data Documentation

DtClock MAKLogger::DtWallClockTimeProvider::myClock
protected
DtTime MAKLogger::DtWallClockTimeProvider::myLastTime
protected

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

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)