#include <timer.hpp>
|
| | Timer () |
| |
| QTime | millis () const override |
| | Returns the current time in units of QTime.
|
| |
| | AbstractTimer (QTime ifirstCalled) |
| | A Timer base class which implements its methods in terms of millis().
|
| |
| virtual | ~AbstractTimer () |
| |
| virtual QTime | getDt () |
| | Returns the time passed in ms since the previous call of this function.
|
| |
| virtual QTime | readDt () const |
| | Returns the time passed in ms since the previous call of getDt().
|
| |
| virtual QTime | getStartingTime () const |
| | Returns the time the timer was first constructed.
|
| |
| virtual QTime | getDtFromStart () const |
| | Returns the time since the timer was first constructed.
|
| |
| virtual void | placeMark () |
| | Place a time marker.
|
| |
| virtual QTime | clearMark () |
| | Clears the marker.
|
| |
| virtual void | placeHardMark () |
| | Place a hard time marker.
|
| |
| virtual QTime | clearHardMark () |
| | Clears the hard marker.
|
| |
| virtual QTime | getDtFromMark () const |
| | Returns the time since the time marker.
|
| |
| virtual QTime | getDtFromHardMark () const |
| | Returns the time since the hard time marker.
|
| |
| virtual bool | repeat (QTime time) |
| | Returns true when the input time period has passed, then resets.
|
| |
| virtual bool | repeat (QFrequency frequency) |
| | Returns true when the input time period has passed, then resets.
|
| |
Definition at line 11 of file timer.hpp.
◆ Timer()
◆ millis()
| QTime okapi::Timer::millis |
( |
| ) |
const |
|
overridevirtual |
Returns the current time in units of QTime.
- Returns
- the current time
Implements okapi::AbstractTimer.
The documentation for this class was generated from the following file: