#include <SynchedSystem.H>
Public Types | |
| enum | TimeUpdateMethod { USE_LOCAL_SYSTEM_TIME, PROGRAM_UPDATES_TIME } |
Static Public Member Functions | |
| static double | getLocalTime () |
| Programs should access the time through these methods. | |
| static double | getAppStartTime () |
| static double | getAppRunningTime () |
| static void | setProgramUpdatesTime (double applicationStartTime) |
| static void | updateLocalTime (double t) |
| static TimeUpdateMethod | getTimeUpdateMethod () |
Static Protected Attributes | |
| static TimeUpdateMethod | _timeUpdateMethod |
| static double | _appStartTime |
| static double | _localTime |
| static double VRG3D::SynchedSystem::getLocalTime | ( | ) | [static] |
| static double VRG3D::SynchedSystem::getAppStartTime | ( | ) | [inline, static] |
References _appStartTime.
| static double VRG3D::SynchedSystem::getAppRunningTime | ( | ) | [inline, static] |
References _appStartTime, and getLocalTime().
| static void VRG3D::SynchedSystem::setProgramUpdatesTime | ( | double | applicationStartTime | ) | [static] |
Called by VRApp when running as a cluster client to initialize the system.
| static void VRG3D::SynchedSystem::updateLocalTime | ( | double | t | ) | [static] |
Called by VRApp when running as a cluster client once per frame when it receives a new timing event from the synchronization server.
| static TimeUpdateMethod VRG3D::SynchedSystem::getTimeUpdateMethod | ( | ) | [inline, static] |
References _timeUpdateMethod.
TimeUpdateMethod VRG3D::SynchedSystem::_timeUpdateMethod [static, protected] |
Referenced by getTimeUpdateMethod().
double VRG3D::SynchedSystem::_appStartTime [static, protected] |
Referenced by getAppRunningTime(), and getAppStartTime().
double VRG3D::SynchedSystem::_localTime [static, protected] |
1.5.6