VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
makVrf::DtVrfDeTimeManager Class Reference

DtVrfDeTimeManager. More...

Inheritance diagram for makVrf::DtVrfDeTimeManager:
Inheritance graph
[legend]

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
DtDemyDe
 
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...
 

Detailed Description

DtVrfDeTimeManager.

Override to no-op setTimeScale as VRF handles that in its own way. Prevents double counting of time scale

Constructor & Destructor Documentation

makVrf::DtVrfDeTimeManager::DtVrfDeTimeManager ( makVrv::DtDe )
virtual makVrf::DtVrfDeTimeManager::~DtVrfDeTimeManager ( )
virtual

Member Function Documentation

virtual void makVrf::DtVrfDeTimeManager::setTimeScale ( double  timeScale)
protectedvirtual

Set the time scale, this will also set the time base upon the current time scale.

Reimplemented from makVrv::DtDeTimeManager.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)