|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CTime Class ReferenceThis class provide a independant local time system.
More...
#include <time_nl.h>
Inheritance diagram for NLMISC::CTime:
List of all members.
Detailed Description
This class provide a independant local time system.
-
Author:
-
Vianney Lecroart , Nevrax France
-
Date:
-
2000
Definition at line 57 of file time_nl.h.
Member Function Documentation
TTime NLMISC::CTime::getLocalTime |
( |
|
) |
[static] |
|
|
get the time in millisecond.
It's a local time, it means that the value is different on 2 differents computers. Use the CUniTime to get a universal time that is the same on all computers. -
Warning:
-
On Windows, the value is on 32 bits only.
Definition at line 55 of file time_nl.cpp.
References getPerformanceTime, nlerror, and NLMISC::TTime.
Referenced by NLAIAGENT::CAgentWatchTimer::attach, NLSOUND::CAudioMixerUser::curTime, NLSOUND::CSimpleSource::getPlayTime, NLSOUND::CComplexSource::getTime, loadForm, NLSOUND::CComplexSource::onEvent, NLSOUND::CBackgroundSource::onEvent, NLSOUND::CComplexSource::onUpdate, NLSOUND::CBackgroundSource::onUpdate, NLSOUND::CComplexSource::play, NLSOUND::CBackgroundSource::play, NLAIAGENT::CAgentManagerTimer::CRunTimer::run, NLAIAGENT::CAgentClockTimer::runActivity, NLAIAGENT::CAgentWatchTimer::runActivity, NL3D::CWaterRenderObs::setupMaterialNVertexShader, ticksToSecond, and NLSOUND::CAudioMixerUser::update. |
TTicks NLMISC::CTime::getPerformanceTime |
( |
|
) |
[static] |
|
uint32 NLMISC::CTime::getSecondsSince1970 |
( |
|
) |
[static] |
|
|
returns the number of second since midnight (00:00:00), January 1, 1970, coordinated universal time, according to the system clock.
This values is the same on all computer if computers are synchronized (with NTP for example).
Definition at line 45 of file time_nl.cpp. |
double NLMISC::CTime::ticksToSecond |
( |
TTicks |
ticks |
) |
[static] |
|
The documentation for this class was generated from the following files:
|
|