![]() |
VR-Link API Documentation for DIS
|
This file contains routines for manipulating DIS time stamps. More...
Go to the source code of this file.
Defines | |
| #define | DtRELATIVE 0 |
| #define | DtABSOLUTE 1 |
Functions | |
| DT_DLL_VLPROTIND DtU32 | DtTimeStampNow (int relOrAbs=DtRELATIVE) |
| DT_DLL_VLPROTIND DtU32 | DtMakeTimeStamp (DtTime time, int relativeOrAbs=DtRELATIVE) |
| int | DtAbsoluteHourFrac (DtU32 hourFrac) |
| DtU32 | DtSetAbsoluteHourFrac (DtU32 hourFrac) |
| double | DtHourFrac2Hour (DtU32 hourFrac) |
| double | DtHourFrac2Sec (DtU32 hourFrac) |
| DtU32 | DtHour2HourFrac (double hour) |
| DtU32 | DtSec2HourFrac (double sec) |
Variables | |
| const double | DtHourFracPerHour = 2147483648.0 |
| const double | DtHourPerHourFrac = 1.0/2147483648.0 |
This file contains routines for manipulating DIS time stamps.
These routines are obsolete as of VR-Link 3.2, but are included here for backward compatibility. The DtNetTimeStamp class (defined in netTimeStamp.h should be used instead.
| #define DtABSOLUTE 1 |
| #define DtRELATIVE 0 |
| int DtAbsoluteHourFrac | ( | DtU32 | hourFrac | ) | [inline] |
| DtU32 DtHour2HourFrac | ( | double | hour | ) | [inline] |
References DtHourFracPerHour.
Referenced by DtSec2HourFrac().
| double DtHourFrac2Hour | ( | DtU32 | hourFrac | ) | [inline] |
References DtHourPerHourFrac.
Referenced by DtHourFrac2Sec().
| double DtHourFrac2Sec | ( | DtU32 | hourFrac | ) | [inline] |
References DtHour2Sec, and DtHourFrac2Hour().
| DT_DLL_VLPROTIND DtU32 DtMakeTimeStamp | ( | DtTime | time, |
| int | relativeOrAbs = DtRELATIVE |
||
| ) |
| DtU32 DtSec2HourFrac | ( | double | sec | ) | [inline] |
References DtHour2HourFrac(), and DtSec2Hour.
| DtU32 DtSetAbsoluteHourFrac | ( | DtU32 | hourFrac | ) | [inline] |
| DT_DLL_VLPROTIND DtU32 DtTimeStampNow | ( | int | relOrAbs = DtRELATIVE | ) |
| const double DtHourFracPerHour = 2147483648.0 |
Referenced by DtHour2HourFrac().
| const double DtHourPerHourFrac = 1.0/2147483648.0 |
Referenced by DtHourFrac2Hour().