80 {
return tickTime_ / 1000; }
83 {
return static_cast<long> (tickTime_ / 1000000); }
86 {
return static_cast<float>(tickTime_ / 1000000.0f); }
90 {
return tickDtFloat_; }
100 unsigned long long getRealMicroseconds()
const;
#define _UtilExport
Definition: UtilPrereqs.h:60
unsigned long long getMilliseconds() const
Returns the last captured absolute time in milliseconds.
Definition: Clock.h:79
unsigned long getSeconds() const
Returns the last captured absolute time in seconds.
Definition: Clock.h:82
float tickDtFloat_
Delta time in seconds (cache value)
Definition: Clock.h:110
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Shared library macros, enums, constants and forward declarations for the util library ...
unsigned long long tickTime_
Currently captured time.
Definition: Clock.h:108
unsigned long long getMicroseconds() const
Returns the last captured absolute time in microseconds.
Definition: Clock.h:76
float getSecondsPrecise() const
Returns the last captured absolute time in seconds as float.
Definition: Clock.h:85
long getDeltaTimeMicroseconds() const
Returns the timespan in microseconds between the last two calls to capture()
Definition: Clock.h:92
Simple real time clock based on Ogre::Timer.
Definition: Clock.h:57
long tickDt_
Delta time in microseconds (cache value)
Definition: Clock.h:109
Ogre::Timer * timer_
Ogre timer object.
Definition: Clock.h:107
float getDeltaTime() const
Returns the timespan in seconds between the last two calls to capture()
Definition: Clock.h:89