41 return offset + (IceUtil::Time::now() - startTime) * speed;
52 offset = IceUtil::Time::microSeconds(0);
53 startTime = IceUtil::Time::now();
61 startTime = IceUtil::Time::now();
76 startTime = IceUtil::Time::now();
void start()
starts the clock
void step(IceUtil::Time stepSize)
adds a timedelta to the current time
void stop()
stops the clock.
IceUtil::Time getTime() const
get the current time of this clock
void reset()
resets the clock
void setSpeed(float newSpeed)
sets the speed factor of the clock
This file offers overloads of toIce() and fromIce() functions for STL container types.