Provides a stop-watch-like class with a resolution of milliseconds.
More...
#include <Timer.h>
Provides a stop-watch-like class with a resolution of milliseconds.
Definition at line 41 of file Timer.h.
◆ Timer() [1/2]
◆ Timer() [2/2]
KNI::Timer::Timer |
( |
long |
timeout | ) |
|
◆ _ElapsedTime()
long KNI::Timer::_ElapsedTime |
( |
| ) |
const |
|
private |
◆ Elapsed()
bool KNI::Timer::Elapsed |
( |
| ) |
const |
Returns true if timer is elapsed.
◆ ElapsedTime()
long KNI::Timer::ElapsedTime |
( |
| ) |
const |
Returns the elapsed time.
◆ Set()
void KNI::Timer::Set |
( |
long |
timeout | ) |
|
◆ Set_And_Start()
void KNI::Timer::Set_And_Start |
( |
long |
timeout | ) |
|
◆ Start()
void KNI::Timer::Start |
( |
| ) |
|
◆ WaitUntilElapsed()
void KNI::Timer::WaitUntilElapsed |
( |
| ) |
const |
◆ _ct
struct timeval KNI::Timer::_ct |
|
private |
◆ _timeout
long KNI::Timer::_timeout |
|
private |
The documentation for this class was generated from the following file: