![]() |
MAK Data Logger API Documentation for HLA
|
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 |
An implementation of DtTimeProvider which provides time in real time according to the system clock.
| MAKLogger::DtWallClockTimeProvider::DtWallClockTimeProvider | ( | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Get the current time.
Implements MAKLogger::DtTimeProvider.
|
virtual |
Get the elapsed time since the last tick.
Implements MAKLogger::DtTimeProvider.
|
virtual |
Reset the clock as if the last tick happened now (with the current time)
Implements MAKLogger::DtTimeProvider.
|
virtual |
Increase time advance this will use wall clock time to update the advance.
Implements MAKLogger::DtTimeProvider.
|
virtual |
Get the time offset.
Implements MAKLogger::DtTimeProvider.
|
protected |
|
protected |