An abstract class which provides time advances used by the DtLgrClock.
More...
Public Member Functions |
| | DtTimeProvider () |
| | CTOR.
|
| virtual | ~DtTimeProvider () |
| | DTOR.
|
| virtual void | tick ()=0 |
| | Process time advance.
|
| virtual void | resetTick ()=0 |
| | Reset the clock as if the last tick happened now (with the current time)
|
| virtual DtTime | currentTime () const =0 |
| | Get the current time.
|
| virtual DtTime | timeAdvanced () const |
| | Get the time advanced as a result of the last tick.
|
| virtual void | setTimeAdvanced (DtTime timeValue) |
| | Set the time advanced as a result of the last tick.
|
| virtual DtTime | elapsedTime () const =0 |
| | Get the elapsed time since the last tick.
|
| virtual DtTime | timeOffset () const =0 |
| | Get the time offset.
|
Detailed Description
An abstract class which provides time advances used by the DtLgrClock.
Constructor & Destructor Documentation
| MAKLogger::DtTimeProvider::DtTimeProvider |
( |
| ) |
|
| virtual MAKLogger::DtTimeProvider::~DtTimeProvider |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual DtTime MAKLogger::DtTimeProvider::currentTime |
( |
| ) |
const |
|
pure virtual |
| virtual DtTime MAKLogger::DtTimeProvider::elapsedTime |
( |
| ) |
const |
|
pure virtual |
| virtual void MAKLogger::DtTimeProvider::resetTick |
( |
| ) |
|
|
pure virtual |
| 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 |
| 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 |
Member Data Documentation
| DtTime MAKLogger::DtTimeProvider::myTimeAdvance |
|
protected |
The documentation for this class was generated from the following file: