raSystem  1.0 bata
raTimer Class Reference

#include <raTimer.h>

Public Member Functions

 raTimer (void)
 
 ~raTimer (void)
 
void Start (void)
 
void Stop (void)
 
void UpDate (void)
 
void Reset (void)
 
float GetTime (void)
 
float GetElapsed (void)
 
 READONLY_PROPERTY (float, fRunTime)
 
 GET (fRunTime)
 
 READONLY_PROPERTY (float, fTime)
 
 GET (fTime)
 
 READONLY_PROPERTY (__int64, CurTime)
 
 GET (CurTime)
 
 READONLY_PROPERTY (__int64, TicksPerSecond)
 
 GET (TicksPerSecond)
 
 READONLY_PROPERTY (__int64, LastTime)
 
 GET (LastTime)
 
 READONLY_PROPERTY (bool, IsStopped)
 
 GET (IsStopped)
 
 READONLY_PROPERTY (float, FPS)
 
 GET (FPS)
 

Protected Member Functions

 raTimer (const GUID &raguid)
 

Detailed Description

Definition at line 3 of file raTimer.h.

Constructor & Destructor Documentation

◆ raTimer() [1/2]

raTimer::raTimer ( void  )

Definition at line 5 of file raTimer.cpp.

◆ ~raTimer()

raTimer::~raTimer ( void  )

Definition at line 23 of file raTimer.cpp.

◆ raTimer() [2/2]

raTimer::raTimer ( const GUID &  raguid)
protected

Definition at line 14 of file raTimer.cpp.

Member Function Documentation

◆ GET() [1/7]

raTimer::GET ( fRunTime  )
inline

Definition at line 18 of file raTimer.h.

◆ GET() [2/7]

raTimer::GET ( fTime  )
inline

Definition at line 21 of file raTimer.h.

◆ GET() [3/7]

raTimer::GET ( CurTime  )
inline

Definition at line 24 of file raTimer.h.

◆ GET() [4/7]

raTimer::GET ( TicksPerSecond  )
inline

Definition at line 27 of file raTimer.h.

◆ GET() [5/7]

raTimer::GET ( LastTime  )
inline

Definition at line 30 of file raTimer.h.

◆ GET() [6/7]

raTimer::GET ( IsStopped  )
inline

Definition at line 33 of file raTimer.h.

◆ GET() [7/7]

raTimer::GET ( FPS  )
inline

Definition at line 36 of file raTimer.h.

◆ GetElapsed()

float raTimer::GetElapsed ( void  )
inline

Definition at line 15 of file raTimer.h.

◆ GetTime()

float raTimer::GetTime ( void  )
inline

Definition at line 14 of file raTimer.h.

◆ READONLY_PROPERTY() [1/7]

raTimer::READONLY_PROPERTY ( float  ,
fRunTime   
)

◆ READONLY_PROPERTY() [2/7]

raTimer::READONLY_PROPERTY ( float  ,
fTime   
)

◆ READONLY_PROPERTY() [3/7]

raTimer::READONLY_PROPERTY ( __int64  ,
CurTime   
)

◆ READONLY_PROPERTY() [4/7]

raTimer::READONLY_PROPERTY ( __int64  ,
TicksPerSecond   
)

◆ READONLY_PROPERTY() [5/7]

raTimer::READONLY_PROPERTY ( __int64  ,
LastTime   
)

◆ READONLY_PROPERTY() [6/7]

raTimer::READONLY_PROPERTY ( bool  ,
IsStopped   
)

◆ READONLY_PROPERTY() [7/7]

raTimer::READONLY_PROPERTY ( float  ,
FPS   
)

◆ Reset()

void raTimer::Reset ( void  )

Definition at line 54 of file raTimer.cpp.

◆ Start()

void raTimer::Start ( void  )

Definition at line 27 of file raTimer.cpp.

◆ Stop()

void raTimer::Stop ( void  )

Definition at line 34 of file raTimer.cpp.

◆ UpDate()

void raTimer::UpDate ( void  )

Definition at line 43 of file raTimer.cpp.


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