![]() |
VR-Forces 4.8 Class Documentation
|

Public Member Functions | |
| DtVrfDeTimeManager (makVrv::DtDe &) | |
| virtual | ~DtVrfDeTimeManager () |
Public Member Functions inherited from makVrv::DtDeTimeManager | |
| virtual | ~DtDeTimeManager () |
| DTOR. More... | |
| virtual void | setReferenceDateAndTime (int year, Month month, int dayOfMonth, int hours, int minutes, double seconds) |
| Set the reference date and time, used for calculating the current date and time. More... | |
| virtual void | getReferenceDateAndTime (int &year, Month &month, int &dayOfMonth, int &hours, int &minutes, double &seconds) const |
| Get the last set date. More... | |
| virtual void | syncReferenceDateAndTime () |
| Set the reference date and time to the current date and time. More... | |
| virtual void | setUseGlobalTimeZone (bool) |
| When displaying the sun/moon position, use the observer (default, suppling false to this method) or use the current GMT time (supplying true to this method) More... | |
| virtual bool | useGlobalTimeZone () const |
| Returns whether or not to use GMT Time for observer. More... | |
| virtual void | calculateCurrentDateAndTime (int &year, Month &month, int &dayOfMonth, int &hour, int &minutes, double &seconds) const |
| Calculate the current date and time based upon the simulation time passes since the reference was set. More... | |
| virtual double | timeScale () const |
| Get the time scale. More... | |
| virtual void | getRecord (makArchives::DtDateTimeRecord &record) const |
| Fill out a record with the current date/time and timescale. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Protected Member Functions | |
| virtual void | setTimeScale (double) |
| Set the time scale, this will also set the time base upon the current time scale. More... | |
Protected Member Functions inherited from makVrv::DtDeTimeManager | |
| DtDeTimeManager (DtDe &de) | |
| ! More... | |
| double | timeSinceSet () const |
Additional Inherited Members | |
Public Types inherited from makVrv::DtDeTimeManager | |
| enum | Month { January = 1, February, March, April, May, June, July, August, September, October, November, December } |
Static Public Member Functions inherited from makVrv::DtDeTimeManager | |
| static bool | isYearALeapYear (int year) |
| Check to see if this is a leap year. More... | |
| static int | daysInTheMonthOf (int year, Month month) |
| Get the number of days in a month. More... | |
| static Month | nextMonth (Month month) |
| Get the next month. More... | |
Public Attributes inherited from makVrv::DtDeTimeManager | |
| boost::signal< void(int year, Month month, int day)> | signal_dateChanged |
| Signal when the date changes. More... | |
| boost::signal< void(bool)> | signal_useGlobalTimeZoneChanged |
| Signal when using GMT time for observer changes. More... | |
Protected Attributes inherited from makVrv::DtDeTimeManager | |
| DtDe & | myDe |
| int | myYear |
| Month | myMonth |
| int | myDayOfTheMonth |
| int | myHours |
| int | myMinutes |
| double | mySeconds |
| double | mySimulationTimeAtSet |
| The simulation time when the time was set. More... | |
| double | myTimeScaleFactor |
| The amount that time scale with simulation time. More... | |
| bool | myUseGlobalTimeZone |
| Whether or not to use GMT time for sun/moon position (if true will) More... | |
Override to no-op setTimeScale as VRF handles that in its own way. Prevents double counting of time scale
| makVrf::DtVrfDeTimeManager::DtVrfDeTimeManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
protectedvirtual |
Set the time scale, this will also set the time base upon the current time scale.
Reimplemented from makVrv::DtDeTimeManager.