Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

# Keos::CTimer Class Reference

Platform-independent Timer class. More...

`#include <KeosTimer.h>`

Inheritance diagram for Keos::CTimer:

List of all members.

## Public Member Functions

virtual void | Reset ()=0
| Resets timer.
virtual unsigned long | GetMilliseconds ()=0
| Returns milliseconds since initialisation or last reset.
virtual unsigned long | GetMicroseconds ()=0
| Returns microseconds since initialisation or last reset.

## Detailed Description

Platform-independent Timer class.

You should never create a Timer instance manually; instead, use CPlatformManager::CreateTimer.

Definition at line 33 of file KeosTimer.h.

## Member Function Documentation

virtual unsigned long Keos::CTimer::GetMicroseconds | ( |  | ) | `[pure virtual]`

| Returns microseconds since initialisation or last reset. Implemented in Keos::CWin32Timer.

virtual unsigned long Keos::CTimer::GetMilliseconds | ( |  | ) | `[pure virtual]`

| Returns milliseconds since initialisation or last reset. Implemented in Keos::CWin32Timer. Referenced by Keos::IRenderTarget::ResetStatistics(), and Keos::IRenderTarget::UpdateStats().

virtual void Keos::CTimer::Reset | ( |  | ) | `[pure virtual]`

| Resets timer. Implemented in Keos::CWin32Timer.

The documentation for this class was generated from the following file:

- KeosEngine/KeosTimer.h