Class measuring the simulation time of an Example. More...
#include </home/chochlik/devel/oglplus/example/oglplus/example.hpp>
Public Member Functions | |
| void | Update (double real_time) |
| Update the clock by providing real time. | |
| void | Advance (double seconds) |
| Advances the clock. | |
| void | Pace (double pace) |
| Set the pace by which the sim. time advances compared to real-time. | |
| double | Time (void) const |
| Equivalent to Now().Seconds() | |
| ExampleTimePeriod | RealTime (void) const |
| Returns the real time elapsed since the start of the example. | |
| ExampleTimePeriod | Now (void) const |
| Returns the simulation time elapsed since the start of the example. | |
| ExampleTimePeriod | Interval (void) const |
| Returns the time elapsed between the last and the previous Update. | |
Class measuring the simulation time of an Example.