#include <Timer.h>
Public Member Functions | |
| bool | Elapsed () const |
| long | ElapsedTime () const |
| void | Set (long timeout) |
| void | Set_And_Start (long timeout) |
| void | Start () |
| Timer () | |
| Timer (long timeout) | |
| void | WaitUntilElapsed () const |
Private Member Functions | |
| long | _ElapsedTime () const |
| Platform specific implementation of ElapsedTime(). | |
Private Attributes | |
| struct timeval | _ct |
| long | _timeout |
Provides a stop-watch-like class with a resolution of milliseconds.
| KNI::Timer::Timer | ( | long | timeout | ) |
| long KNI::Timer::_ElapsedTime | ( | ) | const [private] |
Platform specific implementation of ElapsedTime().
| bool KNI::Timer::Elapsed | ( | ) | const |
| long KNI::Timer::ElapsedTime | ( | ) | const |
| void KNI::Timer::Set | ( | long | timeout | ) |
| void KNI::Timer::Set_And_Start | ( | long | timeout | ) |
| void KNI::Timer::Start | ( | ) |
| void KNI::Timer::WaitUntilElapsed | ( | ) | const |
struct timeval KNI::Timer::_ct [private] |
long KNI::Timer::_timeout [private] |