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

An abstract class which provides time advances used by the DtLgrClock. More...

+ Inheritance diagram for MAKLogger::DtTimeProvider:
+ Collaboration diagram for MAKLogger::DtTimeProvider:

Public Member Functions

 DtTimeProvider ()
 CTOR. More...
 
virtual ~DtTimeProvider ()
 DTOR. More...
 
virtual void tick ()=0
 Process time advance. More...
 
virtual void resetTick ()=0
 Reset the clock as if the last tick happened now (with the current time) More...
 
virtual DtTime currentTime () const =0
 Get the current time. 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...
 
virtual DtTime elapsedTime () const =0
 Get the elapsed time since the last tick. More...
 
virtual DtTime timeOffset () const =0
 Get the time offset. More...
 

Protected Attributes

DtTime myTimeAdvance
 

Detailed Description

An abstract class which provides time advances used by the DtLgrClock.

Constructor & Destructor Documentation

MAKLogger::DtTimeProvider::DtTimeProvider ( )

CTOR.

virtual MAKLogger::DtTimeProvider::~DtTimeProvider ( )
virtual

DTOR.

Member Function Documentation

virtual DtTime MAKLogger::DtTimeProvider::currentTime ( ) const
pure virtual

Get the current time.

Implemented in MAKLogger::DtWallClockTimeProvider.

virtual DtTime MAKLogger::DtTimeProvider::elapsedTime ( ) const
pure virtual

Get the elapsed time since the last tick.

Implemented in MAKLogger::DtWallClockTimeProvider.

virtual void MAKLogger::DtTimeProvider::resetTick ( )
pure virtual

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

Implemented in MAKLogger::DtWallClockTimeProvider.

virtual void MAKLogger::DtTimeProvider::setTimeAdvanced ( DtTime  timeValue)
virtual

Set the time advanced as a result of the last tick.

virtual void MAKLogger::DtTimeProvider::tick ( )
pure virtual

Process time advance.

Implemented in MAKLogger::DtWallClockTimeProvider.

virtual DtTime MAKLogger::DtTimeProvider::timeAdvanced ( ) const
virtual

Get the time advanced as a result of the last tick.

Warning
The return value will be constant between calls to tick.
virtual DtTime MAKLogger::DtTimeProvider::timeOffset ( ) const
pure virtual

Get the time offset.

Implemented in MAKLogger::DtWallClockTimeProvider.

Member Data Documentation

DtTime MAKLogger::DtTimeProvider::myTimeAdvance
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)