|
ReplicaNet and RNLobby
1
|
#include <SysTime.h>

Public Member Functions | |
| SysTime () | |
| virtual | ~SysTime () |
| SysTimeType | FloatTime (void) |
| void | Reset (void) |
Static Public Member Functions | |
| static unsigned int | GetTickCount (void) |
| static void | GetSystemTime (SystemTime *sysTime) |
| A replacement for the Win32 API GetSystemTime() and struct SYSTEMTIME. | |
Enables a high performance timer to be used.
| SysTime | ( | ) |
The ctor performs some basic initialisation
|
virtual |
The dtor makes sure everything is tidy
| SysTimeType FloatTime | ( | void | ) |
Read the current time and return the time as a SysTimeType which uses floating point. Use the preprocessor define REPLICANET_TIME_FLOAT or REPLICANET_TIME_DOUBLE to force SysTimeType to be a float or a double. By default the type is double.
Referenced by XPSock_Init(), XPSock_UpdatePerSecondMetrics(), and XPSock_UrgentSend().
|
static |
| void Reset | ( | void | ) |
Resets the time back to zero. Effectively initialising this class again.
Referenced by XPSock_UpdatePerSecondMetrics().
1.8.6