#include <Time.h>
List of all members.
Detailed Description
Wrapper class to access time and random fnctions
Constructor & Destructor Documentation
| zeus::TTime::TTime |
( |
) |
[inline, protected] |
| virtual zeus::TTime::~TTime |
( |
) |
[inline, protected, virtual] |
Member Function Documentation
| Uint64 TTime::getTickCount |
( |
) |
[static] |
Returns the time in micro seconds
| Float64 TTime::getTimeStamp |
( |
) |
[static] |
Returns the time in seconds
| void TTime::initRandom |
( |
) |
[static] |
Initializes the random function
Returns a random number, which is between from and to
- Parameters:
-
| uldFrom | : lower limit |
| uldTo | : upper limit |
- Returns:
- random number
| Float TTime::randomFloat |
( |
Float |
fFrom, |
|
|
Float |
fTo |
|
) |
| [static] |
Returns a random float number, which is between from and to
- Parameters:
-
| fFrom | : lower limit |
| fTo | :upper limit |
- Returns:
- random number
| Int TTime::randomInt |
( |
Int |
iFrom, |
|
|
Int |
iTo |
|
) |
| [static] |
Returns a random integer number, which is between from and to
- Parameters:
-
| iFrom | : lower limit |
| iTo | :upper limit |
- Returns:
- random number
| void TTime::sleep |
( |
Float64 |
dDwell ) |
[static] |
Dwells for a time in seconds
- Parameters:
-
| dDwell | : dwell time in seconds |
| void TTime::usleep |
( |
Uint64 |
uldDwell ) |
[static] |
Dwells for a time in micro seconds
- Parameters:
-
| uldDwell | : dwell time in micro seconds |
The documentation for this class was generated from the following files: