#include <XFuFPSCount.h>
Public Member Functions | |
~XFuFPSCount () | |
Destructor. | |
void | tick () |
Tick the counter. | |
REAL | getFPS () |
Returns the current FPS value. | |
Static Public Member Functions | |
XFuFPSCount * | create (INT32 aFrameInterval=5) |
Creates a new XFuFPSCount object. | |
Protected Member Functions | |
XFuFPSCount () | |
Protected constructor. | |
Protected Attributes | |
INT32 * | mTicks |
Array of tick timestamps. | |
INT32 | mTickCount |
Total number of tick timestamps. | |
INT32 | mCurrentTick |
The current tick timestamp in the array. |
Definition at line 17 of file XFuFPSCount.h.
|
Destructor.
Definition at line 22 of file XFuFPSCount.cpp. References mTicks. |
|
Protected constructor.
Definition at line 15 of file XFuFPSCount.cpp. References mCurrentTick, mTickCount, and mTicks. |
|
Creates a new XFuFPSCount object.
Definition at line 28 of file XFuFPSCount.cpp. References mTickCount, and mTicks. |
|
Returns the current FPS value.
Definition at line 64 of file XFuFPSCount.cpp. References mCurrentTick, mTickCount, and mTicks. |
|
Tick the counter. This function should be called once per frame. Definition at line 56 of file XFuFPSCount.cpp. References mCurrentTick, mTickCount, and mTicks. |
|
The current tick timestamp in the array.
Definition at line 49 of file XFuFPSCount.h. Referenced by getFPS(), tick(), and XFuFPSCount(). |
|
Total number of tick timestamps.
Definition at line 47 of file XFuFPSCount.h. Referenced by create(), getFPS(), tick(), and XFuFPSCount(). |
|
Array of tick timestamps.
Definition at line 45 of file XFuFPSCount.h. Referenced by create(), getFPS(), tick(), XFuFPSCount(), and ~XFuFPSCount(). |
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |