#include <clock.h>
Public Member Functions | |
| Clock () | |
| Construct a new clock. | |
| ~Clock () | |
| Destroy the clock. | |
| void | reset () |
| Reset the base time of the clock to the current time. | |
| void | setAlarm (const float time) |
| Set an alarm. | |
| void | set (const int64_t time) |
| Set the current time of the clock. | |
| float | getTimef () const |
| int64_t | getTime64 () const |
| double | getTimed () const |
| float | getMSf () const |
| Returns the millisecond part of the time elapsed since the last reset. | |
Definition at line 40 of file clock.h.
| eq::base::Clock::Clock | ( | ) | [inline] |
| void eq::base::Clock::reset | ( | ) | [inline] |
Reset the base time of the clock to the current time.
Definition at line 58 of file clock.h.
Referenced by Clock(), eq::ROIFinder::findRegions(), eqPly::EqPly::run(), set(), and setAlarm().

| void eq::base::Clock::setAlarm | ( | const float | time | ) | [inline] |
| void eq::base::Clock::set | ( | const int64_t | time | ) | [inline] |
| float eq::base::Clock::getTimef | ( | ) | const [inline] |
Definition at line 127 of file clock.h.
Referenced by eq::ROIFinder::findRegions(), and eqPly::EqPly::run().

| int64_t eq::base::Clock::getTime64 | ( | ) | const [inline] |
Definition at line 149 of file clock.h.
Referenced by eq::Config::getTime().

| double eq::base::Clock::getTimed | ( | ) | const [inline] |
| float eq::base::Clock::getMSf | ( | ) | const [inline] |
Returns the millisecond part of the time elapsed since the last reset.
Obviously the returned time overflows once per second.
Definition at line 198 of file clock.h.
References getTimed().

0.9 by
1.5.8