![]() |
VR-Forces 5.0.3 Developer's Guide
|
DtSynchronizedTimeManager manages NTP synchronized time DtSynchronizedTimeManager is used by the display engine to provide an NTP synchronized time value, allowing users of this time to be synchronized across applications. Currently time scaling is not supported if using NTP- synced clocks.
Public Member Functions | |
| virtual | ~DtSynchronizedTimeManager () |
| virtual double | syncedTime () const |
| virtual double | timeEpoch () const |
| virtual void | setTimeScaleFactor (double scale) |
| virtual double | timeScaleFactor () const |
Protected Member Functions | |
| DtSynchronizedTimeManager (DtDe &de) | |
| virtual void | calcTimeEpoch () |
Protected Attributes | |
| bool | myTimeEpochCalculated |
| DtDe & | myDe |
| double | myTimeEpoch |
| double | myTimeScaleFactor |
Private Member Functions | |
| DtSynchronizedTimeManager () | |
| DtSynchronizedTimeManager (const DtSynchronizedTimeManager &orig) | |
| DtSynchronizedTimeManager & | operator= (const DtSynchronizedTimeManager &rhs) |
Friends | |
| class | DtSynchronizedTimeManagerCreator |
|
inlinevirtual |
DTOR.
|
protected |
Protected CTOR. This class may only be constructed using DtSynchronizedTimeManagerCreator.
|
private |
Unimplemented default CTOR.
|
private |
Unimplemented copy constructor.
|
virtual |
Returns synchronized time if the synchronized time flag has been set; otherwise reverts to standard DtDe::simulationTime()
|
virtual |
To get millisecond resolution when starting from a absolute clock its necessary to reckon time from a starting point much closer to current clock time than.
|
virtual |
Set / get a scale factor for time.
|
virtual |
Set / get a scale factor for time.
|
protectedvirtual |
Calculate the starting time from which the synchronized time is measured. This uses midnight of the current day.
|
private |
Unimplemented assignment operator.
|
friend |
DtSynchronizedTimeManager is only constructable through this Creator class.
|
protected |
|
protected |
|
protected |
|
protected |