![]() |
MAK Data Logger API Documentation for DIS
|
A clock which provides a continuous time via a time provider. More...
Inheritance diagram for MAKLogger::DtLgrContinuousClock:
Collaboration diagram for MAKLogger::DtLgrContinuousClock:Public Member Functions | |
| DtLgrContinuousClock (DtTimeProvider *timeProvider) | |
| Constructor timeProvider - a pointer (owned by someone else) of the DtTime Provider class. | |
| virtual | ~DtLgrContinuousClock () |
| Destructor. | |
| virtual void | tick () |
| Tick the clock which increments the time. | |
| virtual DtAbsoluteTime | currentTime () const |
| Gets the current time, this value will not change until tick is called again. | |
| virtual void | setCurrentTime (const DtAbsoluteTime &newTime) |
| Sets the internal current time. | |
| virtual void | stop () |
| Stop and reset the clock. | |
| virtual void | pause () |
| Pause the clock. | |
| virtual void | unpause () |
| Unpause the clock. | |
| virtual void | setTimeProvider (DtTimeProvider *timeProvider) |
| Set the time provider. | |
Public Member Functions inherited from MAKLogger::DtLgrClock | |
| DtLgrClock (DtTimeProvider *timeProvider) | |
| Constructor timeProvider - a pointer (owned by someone else) of the DtTime Provider class. | |
| virtual | ~DtLgrClock () |
| Destructor. | |
| virtual const DtTimeProvider * | timeProvider () const |
| Get the time provider. | |
Protected Attributes | |
| DtTime | myBaseTime |
| DtTime | myTimeSync |
| bool | myPaused |
Protected Attributes inherited from MAKLogger::DtLgrClock | |
| DtTimeProvider * | myTimeProvider |
Additional Inherited Members | |
Protected Member Functions inherited from MAKLogger::DtLgrClock | |
| virtual DtTimeProvider * | timeProvider () |
| Get the time provider. | |
A clock which provides a continuous time via a time provider.
| MAKLogger::DtLgrContinuousClock::DtLgrContinuousClock | ( | DtTimeProvider * | timeProvider | ) |
Constructor timeProvider - a pointer (owned by someone else) of the DtTime Provider class.
This class does not take ownership of this provider, it only uses it.
|
virtual |
Destructor.
|
virtual |
Gets the current time, this value will not change until tick is called again.
Implements MAKLogger::DtLgrClock.
|
virtual |
Pause the clock.
Implements MAKLogger::DtLgrClock.
|
virtual |
Sets the internal current time.
Implements MAKLogger::DtLgrClock.
|
virtual |
Set the time provider.
This class does not take ownership of this pointer, and only uses it.
Reimplemented from MAKLogger::DtLgrClock.
|
virtual |
Stop and reset the clock.
Implements MAKLogger::DtLgrClock.
|
virtual |
Tick the clock which increments the time.
Implements MAKLogger::DtLgrClock.
|
virtual |
Unpause the clock.
Implements MAKLogger::DtLgrClock.
|
protected |
|
protected |
|
protected |