#include <D:/Projekte/i6engine/libs/i6engine-utils/include/i6engine/utils/RealTimeClock.h>
|
| | RealTimeClock (const boost::function< void(void)> &f) |
| | constructor taking the function to be called during update More...
|
| |
| | ~RealTimeClock () |
| | destructor, stopping threads and cleaning up More...
|
| |
| uint64_t | getCurrentTime (uint64_t lastTime) const |
| | returns the time between the current time and the creation of the clock in microseconds More...
|
| |
| void | setCurrentTime (uint64_t time) |
| | sets the current time (only at clients, time will be synchronized by server) More...
|
| |
| void | Stop () |
| | stops the clock More...
|
| |
Definition at line 38 of file RealTimeClock.h.
| i6e::utils::RealTimeClock::RealTimeClock |
( |
const boost::function< void(void)> & |
f | ) |
|
|
explicit |
constructor taking the function to be called during update
| i6e::utils::RealTimeClock::~RealTimeClock |
( |
| ) |
|
destructor, stopping threads and cleaning up
| uint64_t i6e::utils::RealTimeClock::getCurrentTime |
( |
uint64_t |
lastTime | ) |
const |
returns the time between the current time and the creation of the clock in microseconds
| void i6e::utils::RealTimeClock::Init |
( |
| ) |
|
|
protected |
| void i6e::utils::RealTimeClock::setCurrentTime |
( |
uint64_t |
time | ) |
|
sets the current time (only at clients, time will be synchronized by server)
| void i6e::utils::RealTimeClock::Stop |
( |
| ) |
|
The documentation for this class was generated from the following file: